PowerPivot DAX Measure to Dynamically Calculate Rolling 12 Months

bravo1563

New Member
Joined
Dec 25, 2013
Messages
20
Hello
I have a unique problem, each month I have a new 12 month forecast. What I need to do using a DAX measure is sum last period of each official forecasts with a 1 month lag for each official forecast. In other words in the below example if I'm filtered on MAR 2017 I need the measure to sum all of the bolded red values which equates 554. Please note this is not in a regular calendar months but in a unique fiscal dating. But if we can write the measure in regular calendar time intelligence I should be able to convert to proper time periods. Any help would be greatly appreciated, thanks!!


Official ForecastDECJANFEBMARAPRMAYJUNJULAUGSEPOCTNOV
MAR 2016433814606418383553861858
APR 2016776673997984534013165416
MAY 201640741018404332351740362
JUN 201644216458454886991892379
JUL 201618963759224522369806722
AUG 20163213052251657668425817
SEP 20165536578712722743772626
OCT 2016473388678019490392317
NOV 201685484158580398290505684
DEC 201667559421147209013293931
JAN 201718
1906584885807748554
FEB 2017467864594186637612769
MAR 20175029215715241291474876

<tbody>
</tbody>
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
I'm sure this can be done, but I don't really understand the scenario. What do the columns refer to? What are all the othe numbers that are not bold red?

I'm pretty sure the table needs to be restructured. I would have a long thin table like this

scenario. Period. Forecast
Mar 16. Apr 16. X
Mar 16. May 16. y
Mar. 16. Jun. 16. Z

etc

thne join the period to a calendar table and use the scenario to filter the scenario you are looking at.
 
Upvote 0

Forum statistics

Threads
1,214,635
Messages
6,120,660
Members
448,975
Latest member
sweeberry

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