知識庫

How to show/hide the middle of hierarchy fields in the dashboard


發佈時間 : 17 Feb 2023
上次修改日期 : 17 Feb 2023

問題

How to show/hide the middle of hierarchy fields in the dashboard
User-added image

環境

  • Tableau Desktop 2022.4.0
  • Windows 10

答案

Use the sheet selection menu to show/hide sheets.
1. Create a parameter:
Name: show/hide header
Type: string
Value: show, hide
2. Create a calculated field:
Name: filter
Value: [show/hide header]="show"
3. Drag [filter] to sheet1, and select [ture]
4. Drag [filter] to sheet2, and select [false]
5. Create a dashboard, drag a verticle object to the dashboard, and show sheet1 and sheet2.
6. Hide the titles of two sheets, and show the parameter.
 
這篇文章是否解決了問題?