• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

"Artificial" Grand Total Row Above Pivot that aligns with "units"/column values when slicers are used.

Hi Smart Folks, new member here.

I have a file with a fairly lengthy Pivot Table and Slicers I want to add a "artificial" grand total row on top of the pivot.

I am currently using =iferror(getpivotdata) to capture to grandtotals from the bottom of the pivot, but it doesn't adjust with the slicers and doesn't align with the units.

(Values in spreadsheet different from text example)

Please kindly suggest solutions and formula for it to align.

Greatly appreciated.

Thank you.

1) Incorrect view with =Iferror(getpivotdata) - Current (Sample Values in text example)

"Artificial" Grand Total with Iferror(Getpivotdata)0.000.00.100000.000.00

2) Desired State - Assumed there are many slicer fields not shown.

Example: Products Selected in Slicer (Units "DEF" + FY17+19)



Grand Total (Above Artificial)Formula to Pickup Subtotal (Changes with Slicer Input) = 2200Formula to pickup subtotal (changes with slicer inpt) = 650000.00 (Fields Should be zero when no products are below, but if additional product is selected should reflect new subtotal based on slicers)0.000.000.00
DEF PaidDEF PO
FY1712005000
FY19100060000
Grand Total (From Pivot)220065000
3 ) Pivot Table with No Slicers Active "Baseline" (Sample Values)
PAIDPO Amount
ABCDEFOPSABCDEFOPS
FY171000200050007000100010000
FY182000200010002000500020000
FY1930004000100020002000050000
Grand Total600080007000110002600080000
 

Attachments

  • Sample Data.xlsx
    23.4 KB · Views: 2
Last edited:
Back
Top