Forum Discussion

nagaraj007's avatar
nagaraj007
Post Patron
3 years ago

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.

 

 

3 Replies

  • 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?

    • nagaraj007's avatar
      nagaraj007
      Post Patron

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

      • lbendlin's avatar
        lbendlin
        Super User

        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.