Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello
Is it possible to have a measure that calculates the delta between ex actuals and forecast, when i am using a flat excel file?
Or do i need to have the different scenarios in different columns?
Year | Month | Scenario | Amount |
2021 | February | Forecast | 100 |
2021 | February | Actuals | 95 |
I don tknow how to attach a external table. Sorry about that.
Month | Fiscal Year | Scenario | Account | Amount |
November | FY21 | Forecast | Net Revenue | 100 |
November | FY21 | P Forecast | Net Revenue | 110 |
November | FY21 | Actuals | Net Revenue | 90 |
November | FY21 | Last year | Net Revenue | 95 |
November | FY21 | Plan | Net Revenue | 115 |
November | FY21 | Forecast | COGS | 80 |
November | FY21 | P Forecast | COGS | 81 |
November | FY21 | Actuals | COGS | 79 |
November | FY21 | Last year | COGS | 75 |
I am trying to get a delta result from comparing the various scenarious against eachother but holding year, account etc the same.
So for a delta between line 3 and line 1 would have a delta of 10
Im a trying to build a simple P&L that shows:
Account | Actuals | Forecast | Delta |
Net revenue | 90 | 100 | 10 |
I would like to be able to calculate that delta with out having to have a column for each scenario.
Is that possible?
Hi @Anonymous ,
I'm not sure about the result you want to achieve (only to count delta between Actuals & Forecast / build the table with columns Account|Actuals|Forecast|Delta), but here is a simple measure just counting delta:
#ActualsVsForecastDelta =
var actuals = CALCULATE(MAX(FindDelta[Amount]),
FindDelta[Scenario] = "Actuals")
var forecast = CALCULATE(MAX(FindDelta[Amount]),
FindDelta[Scenario] = "Forecast")
return
forecast - actuals
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
Hello @Anonymous ,
If you just have 2 scenarios (Actuals vs Forecast), then it might be easier to Pivot Scenario column in Power Query using Amount column as values. In this case you'll get 2 columns: Actuals column with values and Forecast column with values. Finding difference will be a very short and simple task in this case.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
Hi ERD,
Thank you for the suggestion. My illustration above was just that. My data file is several thousands lines with 6 diffent scenarios. All the scenarios is listed in the same column and i would very much like to have a delta between all of them. Is that possible wihtout changing my data setup?
It would be easier to help if you provide a larger table with data, not in a picture, and a final result you want to achieve (might be a picture).
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.
Check out my latest demo report in the data story gallery.
Stand with Ukraine!
Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/
Thank you!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |