Power pivot 2010 - Horizntal %

LearnMeExcel

Well-known Member
Joined
Aug 11, 2009
Messages
746
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
how i can create growth Percentage for year to year
i put year inColumn Labl
in my data thers many year from 2000 to 2014
i want when i select 2013 and 2014
i use this muesure
=DIVIDE(CALCULATE([Total Sales], SalesT [InYear]=2014),CALCULATE([Total Sales],SalesT[InYear]=2013))-1
but this is ony for 2014
if i select by slicr from 2011 to 2014
to give me % for every year from the previous one

i hope my idea is clear

thax
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
You will want a first class Calendar table (which unfortunately, power pivot doesn't really make SUPER easy -- you need to create your own in excel/powerpivot/sql), then relate that Calendar table to your Sales.

You would then have measures like:
[Total Sales - PY] := CALCULATE([Total Sales], SAMEPERIODLASTYEAR(Calendar[DateKey]))
[YoY Sales Growth] := DIVIDE([Total Sales] - [Total Sales - PY], [Total Sales - PY])

Even if you have a custom calendar (445 or whatever), you will STILL want a calendar table, though... you won't be able to use SAMEPERIODLASTYEAR and stuff like that. It would be something like...
[Total Sales - PY] := CALCULATE([Total Sales], FILTER(ALL(Calendar), Calendar[Year] = MAX(Calendar[Year]) - 1)
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,196
Members
449,072
Latest member
DW Draft

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