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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nagaraj007
Post Patron
Post Patron

Hide Button based on Column Value

Hello All,

 

I have one table in which i have a column which says YES or NO..

 

If the data says Yes.. I have a button which should be visible for the users to click on the button and download document.

 

If the data says No.... DOWNLOAD BUTTON SHOULD HIDE and it should show one more button which says .. PLEASE MAKE THE PAYMENT TO DOWNLOAD.

 

I dont have any slicers or filters in this page. It has only 2 buttons (Download or Pay) . It should hide / show based on column value.

 

Please advise how to go about it.

 

Attached is the screenshot.Hide Buttons.png

 

 

3 REPLIES 3
lbendlin
Super User
Super User

I have one table in which i have a column which says YES or NO..

how many rows are in that table?  If there is more than one then how is Power BI supposed to know which row you mean?

I have 465 rows and for each row there is unique Id called Membership No. 

You would only need one button. Depending on the Yes/No you can set the button text dynamically, and also assign the action URL dynamically.

 

lbendlin_0-1680832953564.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.