Forum Discussion
Calculated Run Rate Budget vs Actual diff.
Hello everyone,
I have this really annoying problem, that I can't solve. I have tried to use this method in this yourtube, but comes up empty, since I can't come around the date. What's the missing LINK?! Combining ACTUALS and FORECAST as one LINE in Power BI - YouTube
The relationship is this:
The data I have is this:
The measures, I have used is these:
1.
2.
see attached
11 Replies
- lbendlinSuper User
Can't have Nulls in a calendar.
Next step is to correct the relationship.
Having the budget in the calendar table is not optimal. Ideally that should be its own fact table.
Then you can start recreating your measures as needed. I don't follow your logic entirely so here's only an example for the runrate:
Daily Runrate = var d=max(Dates[Date]) return CALCULATE(sumx(Facts,Facts[Realised]),REMOVEFILTERS(Dates[Date]),Dates[Date]<=d) - CALCULATE(sumx(Dates,Dates[Budget]),REMOVEFILTERS(Dates[Date]),Dates[Date]<=d)see attached
- Jonas_HolmHelper I
This doesn't calculate the average of the difference of actual difference between actual and budget and calculate the run rate based on that.
In the screenshot of the excel spreadsheet.
Calculated run rate 2 is correct, but I want the accumulated total in the column "Result".
- lbendlinSuper User
you lost me at
the average of the difference of actual difference between actual and budget and calculate the run rate based on that.Can you walk me through the required steps?