Going Deep with Tableau Tooltips: User Control for On-Off Switching

Data

Going Deep with Tableau Tooltips: User Control for On-Off Switching

This series examines some advanced techniques of Tableau Tooltips and will help you effectively build upon an already solid foundation.

In previous posts, we’ve looked at creating conditional fields for tooltips and using parameters to add user control to tooltips. Here, we’ll combine these to have a tooltip that users can turn on and off:

To make sure that the tooltip does not show at all when we change the parameter, we need everything in the tooltip to be linked to the parameter control:

For each of the dimensions in the tooltip, we need a simple conditional field that will return the dimension when Tooltips are turned on and null when they are turned off:

I want to show a label for my sales, so I need to create another conditional field to show and hide the text Sales:

Finally, I need a conditional version of my measure to show my sales value in the tooltip:

Once these conditional fields have been made, they all need to be dragged into the tooltip. Everything that isn’t a conditional value needs to be removed from the tooltip, including all of the fields used to build the view and any fixed text (field labels):

Add the parameter control to the view so that users can switch the tooltips on and off, and off you go!

More About the Author

Angus Eady

Analytics Consultant
Going Deep with Tableau Tooltips: Background Formatting A common irritation with tooltip formatting in Tableau is that there is no way of changing the background colour of the tooltip. So, if ...
Going Deep with Tableau Tooltips: Adding Images Bringing an image into a tooltip can be a great way to show additional information in a visually interesting way without overcrowding a ...

See more from this author →

Subscribe to our newsletter

  • I understand that InterWorks will use the data provided for the purpose of communication and the administration my request. InterWorks will never disclose or sell any personal data except where required to do so by law. Finally, I understand that future communications related topics and events may be sent from InterWorks, but I can opt-out at any time.
  • This field is for validation purposes and should be left unchanged.

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072