IF [Segment]="Consumer" THEN '<Sheet name="Tooltip For Consumer" maxwidth="300" maxheight="300" filter="<All Fields>">' ELSEIF [Segment]="Corporate" THEN '<Sheet name="Tooltip For Corporate" maxwidth="300" maxheight="300" filter="<All Fields>">' ELSE '<Sheet name="Tooltip For Home Office" maxwidth="300" maxheight="300" filter="<All Fields>">'END
The above workaround currently does not apply to Tableau Server. To voice your Support for this feature, please add your vote to the following Community Idea: Conditional Embedded Sheets That Display Within Tool Tip
The filtering viz in tooltip is triggered by a tooltip action filter, which is automatically generated for the sheet used in tooltip when hovering over a mark. A tooltip filter is added by inserting a sheet but not a calculated field in the tooltip. To generate tooltip filters, inserting all sheets used as viz in tooltip is required, but they can be hidden by setting 1 for the maxwidth and maxheight tags.
For more details, see the Next level Viz in Tooltip session from the Tableau Conference 2018. (The technique is introduced at 33:30).
001471251
2461 KB

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.