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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.