How To Collapse Graph Containers On A Button Click
發佈時間 : 30 Oct 2020 上次修改日期 : 28 Oct 2022
問題
How to collapse/expand containers on a button click
環境
Tableau Desktop
答案
1. Create a parameter with any random string value like "x" 2. Create a calculated field with above parameter. Name it param calc 3. Create a sheet with a placeholder calculation and assign an arrow shape 4. Drag the original sheet and the arrow sheet to dashboard within a horizontal container until it turns dark blue 5. Create a dashboard action like below:
Please note that if you have to resize containers, then change the size of view from sheet and not dashboards as the later will make the container non-collapsible