Forum Discussion
fqtongxue
Feb 28, 2023Copper Contributor
Excel Pivot table grand total
Hello, I have created two pivot tables based on different tables as below picture and I have a calculated field unit price =total amount / qtty. The question is why the grand total in first table ...
Riny_van_Eekelen
Feb 28, 2023Platinum Contributor
Calculated fields work on the row level
In the first pivot table both rows for A and B return a number. Then the Grand Total will calculate as expected.
In the second table, the row for A returns a #DIV0! error (180/0) Then the Grand Total will error out as well.
Put the Area in the row field and the Department in the column area and you'll see that the first PT grand total errors out since the total for Y will be (140/0). The second pivot table will work fine.