Forum Discussion
slohombre
May 22, 2021Brass Contributor
Calculated Field in Pivot Table Not Summing Correctly
Hi, all. I have a pivot table that has a calculated field in the last column of the pivot table. The formula I am using is an IF formula to determine Full Time Equivalents. I was hoping it would a...
- May 22, 2021
With calculated field in total PivotTable uses the same formula as for the rows, not sum them. Thus if your IF() applied to totals returns 1, in grand total for FTE will be 1.
For such calculations it's better to add data to data model creating PivotTable and use DAX measures for aggregations.
slohombre
May 22, 2021Brass Contributor
SergeiBaklan Would SUMX be the right DAX formula?
SergeiBaklan
May 22, 2021Diamond Contributor
Perhaps, it's hard to say without knowing the model. Here When to Use SUM() vs SUMX() - Excelerator BI is the great post which explains and demonstrates difference between SUM and SUMX