Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Chart recommendation for forecast, actual, and difference measures

I have a bar and line chart that is showing the change in monthly forecast by week, with a line that has the actual total amount for the period the forecasts are for. On top of this, I need to show the % difference between the monthly actual compared to each forecast (purple text). I'm struggling to find a good visual/chart to show this clearly. Ideas?

 

smileamile_0-1599606440371.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Make sure you have date table , the create a measure like

 

This month Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(ENDOFMONTH('Date'[Date]),0))

This month Forecast = CALCULATE(SUM(Forecast[Forecast Amount]),DATESMTD(ENDOFMONTH('Date'[Date]),0))

 

Diff %  =([This month Sales] -[This month Forecast],[This month Forecast]) //Change as per need

 

or like this

Month Rank = RANKX(all('Date'),'Date'[Month Start date],,ASC,Dense) 
This Month = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Month Rank]=max('Date'[Month Rank])))

 

In your case You can use month year in case of Rank, That should also work

Power BI — MTD
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e

Greg_Deckler
Super User
Super User

@Anonymous - Maybe add the percent difference as an additional value to your column chart so that you get 2 columns per?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.