Grand totalling measures?

Russ Skinner

New Member
Joined
Jan 10, 2013
Messages
29
Is there any easy way to add a grand total (Product A+B+C by year) to a powerpivot such as the one below which updates when measures are added/removed from product list.

Selecting 'grand total on for columns' in pivot table design menu does nothing.

The following pivot contains (3) measure Product A sales, Product B sales, Product C sales from three independent tables linked to a calendar which provides the year columns and row quarters.

pp1o.jpg


Thanks,

Russ
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
If the first Total line is in row 20, you can use the following formula for B20
=SUMIF($A$2:$A$19,SUBSTITUTE($A20,"Total ",""),$B$2:$B$19)
Copy the formula down and to the right
 
Upvote 0
Russ,

You may have to resort to a 4th measure, [Product A Sales] + [Product B Sales] + [Product C Sales]. If all you want is an extra total row at the bottom then you will need to use a 'Set' to screen out the total measure for the quarters.

Jacob
 
Upvote 0
Thanks for the replies.

4th measure looks like the best option, but downside is this is hard coded to sum all products even if one is removed from values section of the pivot.

Not sure what you mean by the use of a 'Set' Jacob, but I'll see if I can hunt down an example.

Russ
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,755
Members
448,989
Latest member
mariah3

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