Pivot table totals using average instead of the calculation

Jembop

New Member
Joined
Jul 14, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi, I have a pivot table where I have a measure which divides one value from another, and is shown as a percentage.
The total of this percentage column shows an average of the rows above, instead of dividing the totals of the values. Is there a way to ask the pivot to perform the same calculation on the totals, instead of averaging the percentages?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
How have you set up your measure ... can you show screen-shots?
 
Upvote 0
How have you set up your measure ... can you show screen-shots?
The measure divides one value from another, and is set as a percentage. So, when you add it to the pivot, it defaults to SUM where the total has added up all the percentages which is ridiculous. The closest I can get is to set the value to AVERAGE but the total is then an average of all the percentages in the pivot. What I need is the total to actually just divide the total of the values from each other, the same as the non-totals are doing.
 
Upvote 0
I added a calculated field to my PivotTable, and it works fine:
 

Attachments

  • CapPTDiv.JPG
    CapPTDiv.JPG
    40.5 KB · Views: 15
Upvote 0
Hi GlennUK,

I tried creating a calculation group as you have done but it's still summing the % as you can see in my grand total row.
The correct result should be 28.9%

1689606079506.png
 
Upvote 0
I don't know what's going on with your PivotTables ... it doesn't make sense. Can you upload it somewhere to a shared location where I can take a look?
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,976
Members
449,095
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top