Non consecutive dates issue

cidfidou

Board Regular
Joined
Jan 19, 2009
Messages
163
Dear all,

I am trying to figure out a DAX formula that will "digest" non consecutive dates

I have a model of different budget releases which are issued at the beginning of each month based on supply chain revision

I have indexed the budget release of each month with a date using a format as follow : 01/01/2017 etc...

Each plan is a subset of 12 months rolling and I want to compare per month the variance between one release to the other @ months level

In have a budget measure done for which I would like to calculate the following:
- Measure 1 = Sum budget
- Measure 2 = calculate(Measure1,filter(Forecast release = forecast release month -1) ie compare this month vs previous one
- Measure 3 = Measure 1 - Measure 2

I tried as well to make a filter of the form Forecast release = last month release, but still to no avail....

Ideally, measure 3 should give me a delta for a given month of release by planned month



Any ideas are welcome
Thanks a lot
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
See below example

Planned MonthJanFebMarApr
Budget Jan4241
ReleaseFeb323
Planned MonthJanFebMarApr
Budget Jan
ReleaseFeb1-22

<tbody>
</tbody><colgroup><col><col><col span="4"></colgroup>
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,207
Members
448,554
Latest member
Gleisner2

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