Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MGASP01
Frequent Visitor

Hiding or disabling buttons

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

 

 

7 REPLIES 7
aparnavjyn
Helper I
Helper I

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 

Anonymous
Not applicable

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

 

Greg_Deckler
Community Champion
Community Champion

Turn the Action off?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors