Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Good Day
It is possible to have a graph in powerbi showing 3 (or more months), but only showing the target/forecast data for the current month?
raw data is similar to the below, Actual, Forecast and Target per month.
Final graph to look as below, only showing all 3 data points for the current month, and only the actual data for previous months. The reason is to make the graph look less cluttered and only show the valuable data points (i.e no need to see the target from 2 months ago but we want to see the trend of the actuals over).
Is this possible
Thank you in advance
Solved! Go to Solution.
Hello @SammyNed ,
Hope you are doing well.
Kindly find the dataset I created:
Measures:
Result:
If this helps, then kindly give it a kudos and mark it as a solution.
Best Regards,
Keyur Patel
Hello @SammyNed ,
Hope you are doing well.
Kindly find the dataset I created:
Measures:
Result:
If this helps, then kindly give it a kudos and mark it as a solution.
Best Regards,
Keyur Patel
Much appreciated 😊
Works perfectly
Hi @SammyNed ,
I create a table as you mentioned.
Then I create two measures and here are the DAX codes.
Forecast Measure = IF(SUM('Table'[Forecast])=286,286,0)
Target Measure = IF(SUM('Table'[Target])=256,256,0)
Finally I put them into the Clustered column chart and it gives the result you want.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi @Anonymous
This appears to be on the right track, however its not dynamic. Is it possible to include a filter to say only show the forecast data if it occurs within the current month. i know i can use EOMonth, but unsure how to incoroprate it
Forecast Measure = IF(SUM('Table'[Forecast])=CurrentMonth,forecast,0))
Hi @SammyNed
As per our understanding, you want the Actual, Forecast, and Target need to be display to get a trend on the power BI report, so we could suggest to use Line chart where you can compare these Actual, Forecast, and Target by each month.
Thanks!
Inogic Professional Service Division
An expert technical extension for your techno-functional business needs
Power Platform/Dynamics 365 CRM
Drop an email at crm@inogic.com
Service: http://www.inogic.com/services/
Power Platform/Dynamics 365 CRM Tips and Tricks: http://www.inogic.com/blog/
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |