Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have created two basics measures:
THank you in advance.
Br,
Maciej
Hello @maciekimirekk .
I would like to propose the following solution:
I just created the following table to use it as example:
Then my solution would be the following:
1-Create a new table with the months (You can use Summarize to get this data). This table will not be conected to the original one, we will use this calendar in the slicer.
2-Create a slicer with the new calendar table
3-Create the following measures:
Lets say we want to keep Apr in the graph.
Whit this you'll be able to change the dark blue bar by clicking on the slicer and the other one will show the same value.
Please let me know if this works for you.
@maciekimirekk
These two measures are the same, when you include your filter within calculate as "MONTH(Dane[order_date] = 9)", it actual is converted to " FILTER ( ALL( Dane[order_date]), MONTH(Dane[order_date] = 9) )" in the backend.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy Thanks. So what's the point of using that if the calculation is done in the background?
@maciekimirekk
I would like you to read the following article with reagrds to your question:
Simple Filters and Syntax Sugar in DAX functions ⚡ - Excelerator BI
Specifying multiple filter conditions in CALCULATE - SQLBI
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group