February 19, 2021
Hello,
I need some help with totals and subtotals in a pivot table
I want that the subtotal row of a column with averages the sum is of the items and not the average of the items.
I attachment you can find in one tab the data and in the other tab the pivot table.
In the last three columns the value is the average. The rows are two lines days and RF.
For each day there is a subtotal of three RF lines.
There are 9 columns. The first 6 rows are sums, the last three are averages.
For the subtotal of the day the sum of the three RF for each column has to be made.
For the first six columns there is no problem. For the last three (Average of MD, Average of RD and Average of ND) i get in the subtotal line the average of the 3 RF items and not the sum and i need the sum.
Can someone tell me how i can solve this ?
Thank You in advance.
Marc.
July 16, 2010
Hi Marc,
Please see file attached. I added your data to Power Pivot and added 3 DAX measures to sum the averages. Hope that helps.
If you'd like to learn Power Pivot, please consider my Power Pivot course.
Mynda
1 Guest(s)