1 Reply Latest reply on Jun 13, 2016 2:16 PM by Joe Oppelt

    Conditional Hyperlinks

    edward detvongsa



      I'm looking for a way to do conditional hyperlinks in Tableau. For example, I have Hyperlink1 and Hyperlink2. I want to do something like


      IF [Condition]= True THEN [Hyperlink1}

      ELSE [Hyperlink2]



      Can I do this through the dashboard actions or would I need this to be part of my measures?



        • 1. Re: Conditional Hyperlinks
          Joe Oppelt

          Create a calc that does the conditional logic you have.  Put that calc on the data shelf of the sheet.


          Then in your hyperlink action, just place the calc in the line where you would normally put the hyperlink.  If you did it correctly you will see that calc in the pulldown for the line where you would add the hyperlink.