cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pozzyal Member
Member

Show hide buttons based on data

I've been reading a ton of posts on this topic, and can't quite tell if there's a solution or not, so I'll try one of my own: I need to be able to show/hide buttons (presumably using bookmarks, selection pane, etc.) based on data, not on a toggle button. In other words, the user doesn't interact to make this happen, it needs to be based solely on the data.

 

For example, we have a user_id table with a column for standard or premium. If the user is a premium user, then our button would take them to another page which offers visuals which only a premium user can see.

 

So here's a simple look at a test I'm doing. We have two users to choose from, one of them is premium and one is standard. If we choose the premium one, we only want to see the premium bookmark, which points to the premium page. If the other user (standard) is chosen, we want to point to the standard page:

 

landing page main premium.PNG

 

 

I found this thread which near the end on page 2, describes that it can be done in this way: "If your slicer has only minimum values say 2 to 5, then you can assign these values statically for buttons or images and play around with this." The thread is here: https://community.powerbi.com/t5/Desktop/How-to-hide-a-visual-based-on-slicer/td-p/384158/highlight/...

 

The problem is that I can't figure out how to "assign these values statically". Does anyone know if this can in fact be done?

 

 

 

2 REPLIES 2
JosefPrakljacic Established Member
Established Member

Re: Show hide buttons based on data

Hello @pozzyal 

with this trick you can hide visuals like a button.
Another way is unfortunately not known to me.

 

https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

 

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Have a nice day!

BR,
Josef

Community Support Team
Community Support Team

Re: Show hide buttons based on data

Hi @pozzyal ,


If you want to jump report page using bookmarket on a buttom, Sorry for that, but I also not found an effective solution to achieve your requirement, perhaps you can submit the requirement to ideas: https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)