BizAnalyst916
New Member
- Joined
- May 11, 2012
- Messages
- 4
I am using Excel 2010 with PowerPivot on Win XP Pro SP3
I have a PivotTable that looks like:
Month.....Day....Col1.....Col2.....Avg of Col1 / Col2
Feb.................517.....566.................91.44%
.............27......169......193..................87.56%
.............28......172......191..................90.05%
.............29......176......182..................96.70%
The underlying table has a calculated field that divides Col1 by Col2, and that calculated field is in the Values Field, summarized by Average.
The detail lines (days) are exactly correct, as you can see:
(on the 27th): 169/193 = 87.56%
The Feb subtotal does not calculate the way I want it to, however. I want it to be:
517/566 = 91.34%
Instead, it is taking the simple average of the calculated field results from each day in Feb:
(87.56 + 90.05 + 96.7) / 3 = 91.44%
Is there a way to get around this and create a calculated field within the PivotTable that will evaluate totals and subtotals the same way it does the detail rows?
I have a PivotTable that looks like:
Month.....Day....Col1.....Col2.....Avg of Col1 / Col2
Feb.................517.....566.................91.44%
.............27......169......193..................87.56%
.............28......172......191..................90.05%
.............29......176......182..................96.70%
The underlying table has a calculated field that divides Col1 by Col2, and that calculated field is in the Values Field, summarized by Average.
The detail lines (days) are exactly correct, as you can see:
(on the 27th): 169/193 = 87.56%
The Feb subtotal does not calculate the way I want it to, however. I want it to be:
517/566 = 91.34%
Instead, it is taking the simple average of the calculated field results from each day in Feb:
(87.56 + 90.05 + 96.7) / 3 = 91.44%
Is there a way to get around this and create a calculated field within the PivotTable that will evaluate totals and subtotals the same way it does the detail rows?