上次修改日期 : 11 Dec 2023
環境
- Tableau Desktop
答案
Option 1
Upgrade to Tableau Desktop 2023.3.0 or later and follow the steps in the following article.How to Synchronize Axes of Multiple Views/Worksheets with a Parameter on Tableau Desktop 2023.3 or later
Option 2
The following steps are demonstrated in the attached workbook using the Sample -Superstore data source.
- Create a parameter named Max of Axis with the following settings.
- Data type: Integer
- Current Value: enter the preferable maximum value of axes.
- Allowable values: All
- Click Analysis > Create Calculated Field to create the Reference Line calculated field including the following formula.
MAX([Max of Axis])
- Place Profit to columns, Segment to rows, and Reference Line to details.
- Right-click the axis > Add Reference Line with the following settings.
- Scope: Per Pane
- Value: AGG(Reference Line), Maximum
- Labe: None
- Tooltip: None
- Line: None
- Right-click the Max of Axis parameter > Show Parameter.
- Open a new sheet and place Sales to columns, Ship Mode to rows, and Reference Line to details.
- Right-click the axis > Add Reference Line with the same settings of step 4.
- Open a new dashboard and place Sheet 1 and Sheet 2.
其他資訊
Please refer to the sample workbook downloadable from the right link.感謝您針對本文的效益提供意見回饋。
開啟新案例
繼續搜尋
知識庫
社群
產品說明
訓練及教學課程