Forum Discussion
Button Slicer - State disabled
- 9 months ago
For fellow travellers out there:
Greyed out categories are now possible in the button slicer since the october Power BI update (Power BI October 2025 Feature Summary | Microsoft Power BI-Blog | Microsoft Power BI).
Therefore I have a solution since today!
Thanks v-nmadadi-msft srlabhe and MasonMA for the contributions!
Date Table = CALENDAR(MIN(YourFactTable[Date]), TODAY())Year_Month_Text = FORMAT('Date Table'[Date], "yyyy-mm")IsPastOrCurrentMonth =
VAR LastMonthInDataset = MAXX(ALL('Date Table'), 'Date Table'[Date])
RETURN
IF(
MAX('Date Table'[Date]) <= LastMonthInDataset,
1,
0
)- Add your Year_Month_Text column to a Slicer visual.
- Drag your IsPastOrCurrentMonth measure into the "Filters on this visual" section of the filter pane for that slicer.
- Set the filter condition to "is equal to 1" and click "Apply filter."
- Create a measure that returns a specific color for future dates.
FutureMonthColor =
IF(
MONTH(MAX('Date Table'[Date])) > MONTH(TODAY()) || YEAR(MAX('Date Table'[Date])) > YEAR(TODAY()),
"#D3D3D3", // Light grey for disabled buttons
"#FFFFFF" // White for active buttons
)- Select your slicer, go to the Format your visual pane, and expand the Buttons section.
- For State, choose the "Disabled" state.
- For Fill or Font color, select the conditional formatting option (fx) and apply the FutureMonthColor measure.
Thank you very much for your detailed answer! I'm quite sure this workaround could do the trick.
However at the Fabcon 2025 in Vienna an official solution with the button slicer was presented and I am trying to achieve that.
- MasonMA10 months agoSuper User
Can you share the slide used at Fabcon that shows this feature?
- LED_General10 months agoAdvocate I
I'll see if I can find it somewhere.
- LED_General10 months agoAdvocate I
I found it!
It looks like this:
- v-nmadadi-msft10 months agoCommunity Support
Hi LED_General ,
You have mentioned the button slicer used with month names has the option of greying out buttons, but the image you have shared doesnt contain months name but instead has categories, can you kindly recheck the slide.
I have also checked power BI previous month updates and I could not find anything related to the feature you are talking about
See what's new with the latest Power BI update - Power BI | Microsoft Learn
Previous monthly updates to Power BI Desktop and the Power BI service - Power BI | Microsoft LearnIf the feature in discussion is important for your functionality Please consider sharing your suggestion in the Power BI Ideas forum
Fabric Ideas - Microsoft Fabric Community
where the product team actively monitors user feedback. Ideas with strong community support are more likely to be considered for future implementation. Posting there helps ensure your request reaches the right audience and contributes to shaping the product roadmap.
Thank you