Tableau Dashboard Filter Actions: Setup and Guide
In this article
A Tableau dashboard filter action allows you to use a selection in one worksheet to filter data in other worksheets on the same dashboard. This creates an interactive experience where a user can click a specific bar in a chart or a region on a map, and the rest of the dashboard instantly updates to show details relevant only to that selection. To achieve this, you need at least two worksheets placed on a single dashboard and a common data field (dimension) shared between them.
What You'll Need
- A Tableau Desktop or Tableau Public workbook.
- At least two worksheets containing data from the same data source or related data sources.
- A common dimension (e.g., Order ID, Region, or Category) that exists in both worksheets to act as the linking field.
- These worksheets must already be dragged and dropped onto a single Dashboard canvas.
Step-by-Step
- Open the Dashboard Action Menu: With your dashboard open, go to the top menu bar. Navigate to Dashboard > Actions. (Note: Menu labels may differ slightly depending on your version of Tableau).
- Add a New Action: In the Actions window that appears, click the "Add Action" button and select "Filter" from the dropdown list. This opens the Edit Filter Action dialog box.
- Name the Action: In the Name field, give your action a descriptive title, such as "Filter Sales by Region." This helps you manage multiple actions as your dashboard grows in complexity.
- Define the Source Sheet: Under the "Source Sheets" section, you will see a list of all worksheets currently on your dashboard. Check the box next to the sheet that will act as the trigger. For example, if you have a map of the US and a detailed table of orders, the map is your source sheet.
- Define the Target Sheet: Under the "Target Sheets" section, check the boxes for the sheets you want to be filtered. You can choose to filter one specific sheet or multiple sheets simultaneously. In our example, the detailed table would be the target sheet.
- Choose the Run Action Trigger: You must decide how the filter is activated. You have three primary options:
- Run action on: Select – The filter triggers as soon as the user clicks a mark (the most common method).
- Run action on: Hover – The filter triggers when the mouse passes over a mark. This is useful for quick previews but can be distracting if overused.
- Run action on: Menu – The filter only triggers if the user clicks a mark and then selects the action from the tooltip menu.
- Configure Clearing the Selection: Decide what happens to the target sheets when the user deselects the mark in the source sheet. Choose from:
- Leave the filter: The target sheets remain filtered even after the user clicks away.
- Show all values: The target sheets return to showing the full dataset when the selection is cleared.
- Exclude all values: The target sheets go blank until a new selection is made. This is excellent for cleaning up dashboard space when no specific item is selected.
- Set the Target Filters: By default, Tableau selects "All Fields," meaning it will use every common dimension between the source and target. For more precision, select "Selected Fields." Click "Add Filter," choose the specific field you want to link (e.g., "Region"), and ensure the source and target fields match.
- Save and Test: Click OK to close the Edit Filter Action window, and OK again to close the Actions menu. Go to your dashboard and click a data point in your source sheet to verify that the target sheets update correctly.
Common Mistakes
One of the most frequent errors is failing to ensure that the source and target sheets share a common dimension. If you try to filter a sheet using a field that doesn't exist in the target sheet's data source, the action will either do nothing or filter out all data, leaving the target sheet blank. Always verify your data model before setting up actions.
Another common mistake is creating "Action Loops." This happens when Sheet A filters Sheet B, and Sheet B is also set to filter Sheet A. This can lead to confusing user experiences where clicking a mark unexpectedly removes the very data point the user was interacting with. Be intentional about the direction of your data flow.
Users often forget to configure the "Clearing the Selection" behavior. Leaving it on "Show all values" when you have a massive dataset can lead to slow performance or a cluttered dashboard. If your target sheet is a highly detailed table, "Exclude all values" is usually the better choice to keep the dashboard clean until a specific filter is applied.
Finally, many beginners confuse Dashboard Actions with Quick Filters. A Quick Filter is a dropdown or slider that the user manually interacts with. A Dashboard Action is a trigger-based event. Using too many of both can overwhelm the user; decide whether a click-to-filter or a dropdown-to-filter is more intuitive for your specific audience.
Tips
To create a more professional feel, combine filter actions with "Exclude all values." By making the target sheet blank by default, you guide the user to interact with the source sheet first, creating a narrative flow (e.g., "Click a region to see the details").
If you are working with multiple data sources, use the "Selected Fields" option rather than "All Fields." This prevents Tableau from trying to match fields with similar names that actually contain different types of data, which can cause the filter to fail silently.
Use the "Hover" trigger sparingly. While it feels "magical," it can be frustrating for users who just want to see a tooltip without changing the entire dashboard. "Select" is almost always the safer and more accessible choice for business reporting.
When building complex dashboards, name your actions clearly (e.g., "Map to Table Filter" instead of "Filter 1"). As you add more sheets and actions, you will need to troubleshoot them; having clear names allows you to identify which specific link is broken without having to open every single action configuration.
Troubleshooting
If the filter action is not working, first check the "Target Sheets" selection in the Action menu. It is common to accidentally leave the target sheet unchecked, meaning the action triggers but has nowhere to send the command.
If the target sheet goes completely blank when you click a mark, check your field mapping. If you used "All Fields," Tableau might be filtering on a field you didn't intend to use. Switch to "Selected Fields" and manually map the specific dimension you want to use for the filter.
Check for conflicting filters. If you have a manual Quick Filter on the target sheet that excludes the data you are trying to select via the Action, the Action will not override the Quick Filter. The data must satisfy both the manual filter and the action filter to be displayed.
If the dashboard is responding slowly, check the volume of data being processed. Filter actions that trigger "Show all values" on a target sheet with millions of rows can cause significant lag. Try using a data extract or optimizing your target sheet by removing unnecessary dimensions.
Frequently Asked Questions
Can one sheet filter multiple other sheets?
Yes. In the "Target Sheets" section of the action configuration, you can check as many worksheets as you like. A single click on the source sheet will then simultaneously filter all selected target sheets.
What is the difference between a Filter Action and a Highlight Action?
A Filter Action removes all data from the target sheet that doesn't match the selection. A Highlight Action keeps all data visible but dims the non-matching marks, making the selected data stand out visually without removing other context.
Can I use a filter action across different data sources?
Yes, provided the data sources share a common dimension. You must use the "Selected Fields" option in the action menu to manually tell Tableau which field in Source A corresponds to which field in Source B.
How do I remove a filter action once it is created?
Go to Dashboard > Actions, select the action you wish to remove from the list, and click the "Remove" button. This will immediately stop the interaction between those sheets.
Can I trigger a filter action using a parameter?
Standard filter actions are based on dimensions. To filter based on a parameter, you would typically create a Calculated Field that compares the dimension to the parameter and place that calculation on the Filter shelf of your target sheets.