This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Relatively new Power BI user seeking assistance.
I want to show in the following line graph the value "Planned" until the month before the current one, that is, we are in the month of June I want to show values only until the month of May but taking into account that as the months go by the graph must move to the following month, and for the value "Actual" I want to show only those that are greater than 0.
The graph is currently displayed as follows:
For this case I would like to only see the value "Planned" until the month of May since we are currently in June, but I reiterate that as we go through the months of the year the graph should change, and for the value "Actual" show only those greater than 0.
An example of what I want to achieve is the following:
I explain in detail how the model is, I have a calculated table of Date that I created with the CALENDARAUTO() function and in addition to this a column to generate the months with the following DAX formula:
Month = FORMAT(Date[Date], "mmm", "en-US")
To display the year filter above the chart, I use the Year column from the calculated Date table that was created with the CALENDARAUTO() function.
"Planned" and "Actual" are two metrics that I am using to generate the bar graph, and in addition to this I have related the Date table to other tables that are the ones I use to generate the metrics that are shown in the bar graph.
Solved! Go to Solution.
here is a workaround for you
try to create a scope column in calendar table
Proud to be a Super User!
here is a workaround for you
try to create a scope column in calendar table
Proud to be a Super User!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 21 | |
| 18 |