How to switch Dynamic Zone Visibility using multiple parameters?
You can hide or reveal zones (tiled or floating dashboard elements) based on the value of a field or parameter. As you interact, zones on your dashboard appear or disappear. The result is a dynamic dashboard that doesn’t compromise your desired layout.
The Dynamic Zone Visibility is a new feature added in Tableau Desktop 2022.3.
To be used for Dynamic Zone Visibility, a field or parameter must be:
Below is an example for switching four views with two parameters using Sample - Superstore data. Follow along with the sample packaged workbook in the Attachments at the bottom of this article.
1. Create the views you would like to switch between. In the attached sample workbook, the following four views are created.
3. Create a calculated field and name it T/F for Bar - Sales.
[Graph Type]=TRUE AND [Value]=TRUE
4. Create a calculated field and name it T/F for Bar - Quantity.
[Graph Type]=TRUE AND [Value]=FALSE
5. Create a calculated field and name it T/F for Line - Sales.
[Graph Type]=FALSE AND [Value]=TRUE
6. Create a calculated field and name it T/F for Line - Quantity.
[Graph Type]=FALSE AND [Value]=FALSE
7. Add a new dashboard.
8. Drop a Vertical object onto the dashboard.
9. Drop every view in the Vertical object.
10. Select Menu > Analysis > Parameters > Graph Type and Value.
11. Open the Layout tab from the left side pane.
12. From your dashboard, click Bar - Sales view and check the box for Control visibility using value.
13. From the dropdown, select Sample - Superstore > T/F for Bar - Sales.
14. Repeat step 12 and 13 for all other views. Select an appropriate calculated field for each view.
001462954
1270 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.