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
casperholtfarve
Helper III
Helper III

Show/hide button based on measure value

Hi all

I have tried googling and going through all the old topics in the community to see if I could find an answer to my specific enquiry.
I do not seem to find it.

Problem: I want to be able to show/hide a button that should be used to direct the user to a bookmark. But only based on whether a measure returns true (or 1) and if it is false (or 0), then it should be hidden. The reason is, that if the measure returns false/0, it is because there is nothing of value to show in that bookmark.

I have tried all sorts of things and can see from this thread: https://community.fabric.microsoft.com/t5/Desktop/Show-hide-buttons-based-on-data/m-p/809140 that it is suggested to use this approach: https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/ 

However. For buttons I do not have the option to "Filters on this visual". Like I do for matrix, tables, etc. So I don't see how it could be done this way?

Anyone have any suggestions, how to do this? Or maybe I am missing something here.

Best Ragard, Thanks
Casper

3 REPLIES 3
AnthNC
Helper II
Helper II

Same here

 

anthonyjwacm
New Member

 I am also looking to solve this.  If you have found the anwser please let me know. I would appreciate it.

Idrissshatila
Super User
Super User

Hello @casperholtfarve ,

 

I don't think it's possible to hide a button.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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