上次修改日期 : 25 Oct 2022
環境
- Tableau Desktop
- Blended Data
答案
This example uses Superstore sample data and can be reviewed in the attached packaged workbook.Option 1
- In the secondary data source, there should be a orange chain icon indicating the field is linked. If it's not currently visible, click the blue broken chain icon to blend the data.
- In the secondary data source, add 'Order ID' to Filters.
- Select Null
- Select Exclude
- Press OK
Option 2
- Create a Calculated Field called "Data source filter" using the following formula (Note: the name of the field from the secondary data source will contain the data source name in the formula):
IF ATTR([Order ID]) = ATTR([Returns (Sample - Superstore)].[Order ID]) THEN 'Same' ELSE 'Different' END
- Drag both the "Order ID" fields from the primary and the secondary data sources and place them next to each other on Rows
- Drag the newly created field to Filters and select Same.
其他資訊
To view the above steps in action, see the video below.Note: the video has no sound. To view the video in higher quality, click the YouTube icon below to watch it on YouTube directly.
感謝您針對本文的效益提供意見回饋。
開啟新案例
繼續搜尋
知識庫
社群
產品說明
訓練及教學課程