Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hey, I need to set the current month to be displayed automatically, so far I had to change the display of a specific month in the filter every month after loading the data. I would like powerbi to use the current month itself (data refreshed weekly), I will add that the data includes forecast.
Solved! Go to Solution.
Hi @SD97 ,
I created some data:
Here are the steps you can follow:
1. We can click "Get more visual" to add the "Preselected Slicer".
2. We need to create a table like this.
3. Then we can create a measure .
Measure =
var _slicer_date = SELECTEDVALUE('Table'[Column])
var _today=TODAY()
var _month=
MAXX(
FILTER(ALL('Table'),'Table'[Date]=_today),[Column])
return
IF(
_slicer_date = _month,TRUE(),FALSE() )
4. Then we put theses fields on the visual and we can meet your need:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @SD97 ,
I created some data:
Here are the steps you can follow:
1. We can click "Get more visual" to add the "Preselected Slicer".
2. We need to create a table like this.
3. Then we can create a measure .
Measure =
var _slicer_date = SELECTEDVALUE('Table'[Column])
var _today=TODAY()
var _month=
MAXX(
FILTER(ALL('Table'),'Table'[Date]=_today),[Column])
return
IF(
_slicer_date = _month,TRUE(),FALSE() )
4. Then we put theses fields on the visual and we can meet your need:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Looks good but unfortunetly PowerBi shows that: Coulm Date in table Table cannot be found or may not be used in this expression
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
89 | |
81 | |
65 | |
64 | |
60 |
User | Count |
---|---|
170 | |
114 | |
102 | |
73 | |
69 |