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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all! Is there a way to hide or disable a button so the user can't press it?
I have a button and set the action of it to be bookmark, but I want the user to be able to press it only if there's one value selected in a slicer.
The trick that I found is to set the button trasparency to 100% when there are 2 or more values selected in the slice, but it's not the right way to do it, since the user can see the button passing the mouse over it and press it anyways.
Anyone can help, please?
Mick
Hi,
I wanted to hide a bookmark based on the selection made on a geography filter. When one particular value is selected in the filter the only the bookmark should be visible. Is there any work around for this? @Greg_Deckler
HI @MGASP01,
I don' think it is possible to achieve your requirements. AFAIK, power bi does not support to interact button actions filter or dax formulas, you need to manually change its properties. (conditional formatting features not available on buttons, you also not able to set or interact with button background colors)
In my opinion, I'd like to suggest you submit an idea for your requirements.
Regards,
Xiaoxin Sheng
Turn the Action off?
Hi Greg, thanks for answering me back.
How do I turn the action off?
I inserted a conditional formatting to the tooltip just to show a message..
@MGASP01 - Well you do that in the formatting pane for the button. But, honestly I have no idea how you changed the transparency when two or more items were selected in the slicer so I figured if you could do that, you could set the Action on/off. Honestly, how in the world did you change transparency?
Uhm.. I created a measure like this:
Make_Transparent = IF(hasoneFILTER(POPUP_tbl[SEGMENTO]),"#FFFFFF00","White")and set it as the conditional formatting to the button background color.
But I can't do the same trick to the action switch.
Ah, that makes sense now. Nifty. Hmmm.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!