top of page

Dynamic Zone Visibility in Tableau 2022.3

Writer's picture: Bernard KilonzoBernard Kilonzo
dynamic zone visibility in Tableau 2022.3

Introduction

Dynamic zone visibility allows you to control views or containers using a parameter or a field. With this feature introduced in Tableau 2022.3 you can easily swap charts, zones, or even the entire dashboard.

In this short article, I’ll be demonstrating how you can use this feature to swap an entire dashboard.

For demo purposes, I’ll be using this workbook which contains three dashboard tabs namely, Summary, Profitability, and Discount.

tableau dashboard

(Each of these dashboards has a size of 600x730 pixels)

The goal here is to present the same information in a single dashboard (rather than three dashboards), by using dynamic zone visibility to control which layout container is visible.

To do that, first create a string parameter as shown below.

create a parameter in Tableau

Next, in a new worksheet create placeholders (containing the parameter values) – this worksheet will be used to select parameter values through a parameter action.

placeholders

To use dynamic zone visibility, a field or a parameter MUST be a Boolean. Therefore, I need to create three Boolean fields which will be used to control the layout container based on the value selected on the parameter through the parameter action.

tableau calculations

Next, create a dashboard containing the trigger worksheet (parameter selector), and the three dashboards above, each on its own layout container as shown below.

tableau dashboard

(The dashboard contains the previous separate dashboards all in one dashboard – dashboard size 1800x730 pixels)

Assign the values you would like to use to control the visibility of the different containers. For the layout container containing the summary, I will control it using the value ‘Summary – T/F’

control visibility using value

For the layout container containing Profitable orders, I’ll control it using the value ‘Profitability – T/F’

tableau dashboard

For the layout container containing Discount, I’ll control it using the value ‘Discount – T/F’

tableau dashboard

Next, create a parameter action to change the value on the parameter based on the selection on the worksheet (parameter selector) – which in turn, controls visibility of the layout containers.

Adding parameter action to the dashboard

Minimize the size of the dashboard to the original size of 600X730 pixel.

final dashboard

(With this dashboard, you can easily control the different dashboards by simply selecting on the text values)

Interact with the dashboard here!

Conclusion

If this post was helpful and you would like to receive more of these Tableau tips and tricks, kindly subscribe to our mailing list below.

If you like the work we do and would like to work with us, drop us an email on our Contacts page and we’ll reach out!

Thank you for reading!

Original.png

We Support You Deliver Business-Focused Solutions That Enable Data-Driven Decision Making.

  • Tableau profile
  • YouTube
  • White LinkedIn Icon
  • Facebook
  • X

QUICK LINKS

CONTACT US

+254 738 307 495

East Gate Mall, Donholm

3rd Floor Suite No. 3i

Nairobi, Kenya

Join our mailing list

bottom of page