KNOWLEDGE BASE

How to Change the Destination of Navigation Button Depending on Source Dashboard


Published: 17 Mar 2023
Last Modified Date: 22 Mar 2023

Question

How to change the destination of a navigation button depending on source dashboard?

Environment

  • Tableau Desktop 2022.3 or newer

Answer

Only one destination can be specified to a navigation button. However, as a workaround, it is possible to show/hide the two navigation buttons using the Dynamic Zone Visibility feature.
Note: Dynamic Zone Visibility feature is built into Tableau Desktop 2022.3 or newer.

Below is a sample using Sample-Superstore data.
User-added image

1. Prepare the dashboards. The attached sample workbook includes three dashboards as follows;
(1). Dashboard A : View A worksheet is added.
(2). Dashboard B : View B worksheet is added.
(3). Dashboard C : View C worksheet is added.
2. Open View A worksheet. Create a parameter as follows;
 User-added image
3. Create a calculated field and name it T/F for Dashboard A.
[Source Dashboard]="A"
4. Create a calculated field and name it A for parameter action.
"A"
5. Add A for parameter action to Detail.
6. Open View B worksheet. Create a calculated field and name it T/F for Dashboard B.
[Source Dashboard]=“B”
7. Create a calculated field and name it B for parameter action.
“B”
8. Add B for parameter action to Detail.
9. Open Dashboard C and add Vertical object to the dashboard.
10. Add Navigation button in the Vertical object and configure as follows;
 User-added image
10. Add another Navigation button in the Vertical object and configure as follows;
 User-added image
11. Select Menu > Dashboard > Actions > Change Parameter. Add the following two Change Parameter actions.
 User-added image
 User-added image
12. Select Menu > Dashboard > Actions > Filter. Add the following two Filter actions.
 User-added image
13. Select Go to Dashboard A navigation button.
14. Open Layout tab in the left pane and configure as follows;
 User-added image
15. Select Go to Dashboard B navigation button.
16. Open Layout tab in the left pane and configure as follows;
 User-added image
Did this article resolve the issue?