Calculate %Diff Prev Year and $ Diff Previous Year

scpournara

New Member
Joined
Aug 24, 2014
Messages
45
First time self-taught Power Query./Power Pivot user. I created a Data model and need to figure out how to program Measures that build the Prev Year Sales and calculate $ Diff and % Delta. My dataset is from 1/1/2019 to 5/30/2020. At the end of each month I will get a new data set that will be imported from Power Query. I built the Calendar table from Power Pivot Menu using the Date Table function. I would like to build the Power Pivot Table and use the Slicer to chose the month to give me the results. I hope someone can help as I am very close. Attached is a link to a 2-minute video for reference.

 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
you need to investigate the time intelligence functions - there is a wealth of information online and I'm pretty sure they'll deliver what you need.

HTH
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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