Forum Discussion
Calculated Field in Pivot Table - Failed in calculation.
- Jan 24, 2022
Stanly_LIEW The calculated field is summing contact numbers, which presumably are texts. Hence, a sum of zero. Your intention is to sum the count of contacts. Then you need to add the source data to the Data Model and create three DAX measures. Two that count the number of entries in each of the contact columns and one that sums these two counts.
- Stanly_LIEWJan 24, 2022Copper Contributor
Here is what I did on the Pivot Table. I was just using the simple calculation but it has nothing turned out.
- Riny_van_EekelenJan 24, 2022Platinum Contributor
Stanly_LIEW The calculated field is summing contact numbers, which presumably are texts. Hence, a sum of zero. Your intention is to sum the count of contacts. Then you need to add the source data to the Data Model and create three DAX measures. Two that count the number of entries in each of the contact columns and one that sums these two counts.
- Stanly_LIEWJan 25, 2022Copper ContributorIt worked! Thanks Riny!
- NowshadAhmedJan 24, 2022Iron ContributorCan you attach your file here?
- Stanly_LIEWJan 24, 2022Copper ContributorI hope so but that's some information is confidential. What's the possibility to cause this?