Power BI: show the chart until the month selection
With a month filter, when I select the months, my column chart will show the data based on the selection. For instance, to show the first 3 months, I have to select on my slicer: January, February and March but what about if I want to select only March and automatically, I want my chart to display the previous months !!!
I have those 2 tables with no relationship:
| Table1 | Table2 |
![]() |
![]() |
I will create a measure with this formula:
IF(MAX('table1'[argument1])<=SELECTEDVALUE('table2'[argument1]),SUM('table1'[argument2]))
I will create my visuals:
- My slicer with the month column of the table2
- My clustered column chart with the month column of the table1 and my measure
For my slicer, I will configure it like that:
NOTE: in the “style” field, I can also select either as “dropdown” or as “tile”
The result:
If I select for instance August, automatically, the chart will show all results until the selected month:
Interesting Topics
-
Be successfully certified ITIL 4 Managing Professional
Study, study and study, I couldn’t be successfully certified without studying it, if you are interested...
-
Be successfully certified ITIL 4 Strategic Leader
With my ITIL 4 Managing Professional certification (ITIL MP) in the pocket, it was time to go for the...
-
Hide visual and change background color based on selection
Some small tricks to customize the background colour of a text box...
-
Stacked and clustered column chart or double stacked column chart
In excel, I use a lot the combination of clustered and stacked chart...
-
Refresh Power BI
From the Power BI Service, I can set refresh but, for instance, there is no option to do it monthly or each time a change is made...
-
Power BI alerts to be sent by email from an excel file based on condition
I will explain how to send a list of emails from an excel file after creating alerts...








