Excel pivot table

Copper Contributor

I have an issue in excel pivot table, where in if i insert a calculated field in excel, the formula appilied to all individual field, but the it doesnt get applied to the grand total section. Is there a way to apply it to the grand total column. Because of this it gives absurd results like summing up of percentages

3 Replies

Hi @shai123 ,

 

can you show your problem with the example, It will be more easier to solve the problem.

 

@Vinit_Joshi 

 

Dear Vinit:

In the % yes column which i have introduced as calculated field in Pivot the grand total % cell totals up all percentage above it, whereas what i want is a percentage of 140/130 = 108%

 

NameNoYes(% yes) - introduced as calculated field in pivot
Sujay2030150%
Vishak4050125%
Ganesh706085%
Grand Total130140355%

@shai123 

It slightly depends on structure of your source and how you calculate, but in any case for the calculated field if use any aggregation, not sum by default, Total will be incorrect. Better to use measure. For such simple model

image.png

add data to data model creating the PivotTable, and create measure as

image.png

It returns desired result.