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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.