Calculated Item - Pivot Table

Deonvg

New Member
Joined
Feb 4, 2010
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Need some help please. I have inserted "Calculated Item's" in a pivot table
1. New calculation to calculate the movement in ABS from 2023 compared to 2022 - this piece works fine as the Totals and Grand Totals sum correctly.
2. Added an additional "Calculated Item" that calculates the % growth for me year on year i.e. (2023-2022)/2022. For the individual line items, the %'s is calculated correctly, but as soon as it does the Total or Grand Total it sums the various percentages (%) instead of doing a calculation for that as well based (2023-2022)/2022. The 139.28% should be showing 68.41%

What is the correct method to get this working? Your help will be appreciated.

1689247034110.png
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Why don't you do Difference From Previous (the ordinary one and also the percent one):
 

Attachments

  • CapPTDiffFromPrev.JPG
    CapPTDiffFromPrev.JPG
    212.5 KB · Views: 30
Upvote 0
@GlennUK thank you for the feedback.

Not sure what I'm doing wrong, but can't seem to mimic your view, would you be so kind to help out with the xls if possible or guide me on picture. Have added both "Calculated Items" and Calculated Fields" with no luck. Item isn't the correct option

I know it is something fairly easy, but just not seeing it at the moment.

Thanks in advance.
1689344624081.png

1689344648504.png

1689344680779.png


1689344793156.png
 
Upvote 0
Have an extra column with real date, generated by referencing your Year/Period field. Get rid of all calculated fields. Generate PivotTable, grouping date by year. and then do the same as I did
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,189
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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