KNOWLEDGE BASE

Filtering Across Multiple Data Sources Using a Parameter


Published: 24 May 2013
Last Modified Date: 07 Apr 2023

Question

How to filter across multiple data sources using a parameter.

Environment

  • Tableau Desktop

Answer

There are several solutions to filter data from multiple data sources at the same time. Depending on your use case, parameters may not be the best solution. See Filter Data Across Multiple Data Sources for regular filters, or step 9 in Filter Actions to use a target filter in a filter action.

The below example uses the Superstore and Coffee Chain data sources, and can be seen in the attached packaged workbook.
 
CLICK TO EXPAND SOLUTION

Step 1: Create the initial view

 
CLICK TO EXPAND STEPS

Step 2: Create a custom parameter and use it in a calculated field

 
CLICK TO EXPAND STEPS

Step 3: Use the parameter

Did this article resolve the issue?