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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a measure that uses the number of months left in a year for exampe A/(12-current month),
Is it possible have a slicer that changes the current month from (10) for october to whatever month selected, (8) for August?
if it is how can i do i go about it?
Solved! Go to Solution.
@dydx , Not very clear you can have column like this in you date table
Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)
and you can display in meaure like
format(maxx(allselected('Date'), 'Date'[Date]), "MMM-YYYY")
thank you for the prompt reply, i was able to get the value i wanted using
format(maxx(allselected('Date'), 'Date'[Date]), "M")
@dydx , Not very clear you can have column like this in you date table
Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)
and you can display in meaure like
format(maxx(allselected('Date'), 'Date'[Date]), "MMM-YYYY")
thank you for the prompt reply, i was able to get the value i wanted using
format(maxx(allselected('Date'), 'Date'[Date]), "M")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |