Pivot Tables and Porcentages

Frank123

New Member
Joined
Mar 27, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
So I have a data base that has:
1. Months
2. Sales This year
3. Sales Last Year
4. % of variation calculated like this: (Sales This Year/Sales Last Year -1)

1711725135763.png


My problem is that when I use a Pivot Table and put months in filter as All Selected, the variation is incorrect.

1711725242776.png



If I configure the pivot table for it to show % of variation as an average it also dosent match my 12%.

1711725321281.png



So how do you guys, recomend I manage porcentage when it comes to Pivot Tables?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
This might explain what's the issue (normal pivot used).
Book1
BCDEFGHIJK
1monthSalesYearColumn Labels
2jan100202420232024
3feb702024Row LabelsSum of Sales2% Of Prev YrSum of Sales2% Of Prev Yr
4ma3002024jan50100100,00%
5jan502023ma25030020,00%
6feb1202023feb12070-41,67%
7ma2502023Grand Total42047011,90%
Sheet1


1711977498592.png


But you refer to all selected. So, are you using Power Pivot or the data model? -> Share you measure, so we at least understand how you wrote the DAX formula.
PS: You do not need the calculation in the source data.
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,235
Members
449,092
Latest member
SCleaveland

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