How to Create an Action Filter in Tableau
In this article
To create an action filter in Tableau, you build a dashboard, add a Filter Action under Dashboard > Actions, and point its source sheet at a target sheet so that clicking a mark in one view filters the other. The shortest working path is: build the two worksheets, place them on a dashboard, choose Dashboard > Actions > Add Action > Filter, set the source and target sheets, pick the field to pass through, then test it in presentation mode. Menu labels can differ slightly by Tableau version and by whether you are on Tableau Desktop, Tableau Public, or Tableau Cloud, so treat the wording below as a guide rather than a script.
What You'll Need
- Tableau Desktop, Tableau Public, or Tableau Cloud with edit rights to the workbook.
- A data source already connected, with at least one categorical field (region, category, segment) and one measure (sales, profit, count).
- Two worksheets that share the same field you intend to filter on. Action filters only work when the field exists in both the source and the target view.
- A dashboard to hold the worksheets. Actions live on dashboards, not on individual sheets.
Step-by-Step
- Build the source sheet. Create a worksheet that shows the field you want people to click. A common pattern is a bar chart of Sales by Region, with Region on Columns (or Rows) and Sales on the axis. Keep the field you plan to filter on visible in the view, because the action passes the value of the clicked mark.
- Build the target sheet. Create a second worksheet that shows the detail you want revealed, for example Sales by Category or a list of orders. Make sure the same field (Region, in this example) is present in the target sheet's data, even if you do not display it. You can drag it onto the Filters shelf and then hide it from the view if you want the target to show everything until a click happens.
- Create a dashboard. Click the New Dashboard tab at the bottom of the workbook, then drag both worksheets from the Sheets list onto the canvas. Arrange them so the source sheet is easy to click and the target sheet has room to update.
- Open the Actions dialog. With the dashboard active, go to the menu bar and choose Dashboard > Actions. The Actions dialog lists any existing actions and lets you add new ones.
- Add a Filter action. Click Add Action and choose Filter. This opens the action editor with fields for Name, Source Sheets, Target Sheets, and the filtering behaviour.
- Name the action. Give it something you will recognise later, such as "Filter detail by region". Names appear in the Actions list and in tooltips if you enable them.
- Set the source sheet. Under Source Sheets, tick only the sheet people will click. Leave Run action on set to Select, which fires the filter when a mark is clicked. The Hover option runs the action as the cursor passes over marks, which can feel jumpy on dense views.
- Set the target sheet. Under Target Sheets, tick the sheet that should change. If you have more than two sheets, be deliberate here: an action that targets everything can produce confusing cascades.
- Choose the field to pass. In the Target Filters section, set the field (Region) to Selected Fields or to All Fields, depending on how many fields you want to pass. Selected Fields is the safer default and lets you pick exactly which field carries the value.
- Decide what happens when nothing is selected. Under Clearing the selection will, choose Show all values to return the target to its unfiltered state, or Leave the filter to keep the last selection. Show all values is usually what people expect.
- Save and test. Click OK to close the action editor, then OK again to close the Actions dialog. Switch the dashboard into presentation mode using the presentation toggle, or press the shortcut shown in the toolbar, and click a mark in the source sheet. The target should filter to that value.
- Refine behaviour. If the target filters but the numbers look wrong, check that the field types match (a text Region will not match a numeric code), and confirm the target sheet is not already filtered in a way that conflicts.
Common Mistakes
- Putting the action on a worksheet. Actions belong to dashboards. If Dashboard > Actions is greyed out, you are not on a dashboard tab.
- Filtering on a field the target does not contain. The action silently does nothing if the chosen field is absent from the target sheet's data.
- Using a measure as the passing field. Action filters pass discrete values. Passing a continuous measure usually produces an empty target; pass the dimension instead.
- Targeting the wrong sheet. With three or more sheets on a dashboard, it is easy to tick a sheet you did not mean, so the wrong view updates.
- Forgetting the clearing behaviour. Leaving the filter on means the target stays stuck on the last click, which reads as a bug to anyone using the dashboard.
- Testing on the dashboard tab instead of presentation mode. Some interactions behave differently in edit mode; always verify in presentation mode.
Tips
- Name actions descriptively. A dashboard with five actions called "Action 1" to "Action 5" is painful to maintain.
- Use Selected Fields rather than All Fields when your source and target share several dimensions, so the action passes only what you intend.
- Add a text box or title to the dashboard telling people to click a mark. Action filters are invisible until someone tries them.
- If you want the target to show everything before any click, add the same field to the target's Filters shelf and select all values, then hide the filter card.
- Keep one action per job. Layering several filter actions on the same source sheet makes the resulting state hard to predict.
Troubleshooting
If clicking does nothing, first confirm you are in presentation mode and that the source sheet is ticked in the action's Source Sheets list. Then check the field: open the target sheet and verify the same field name and data type exist there. A renamed field or a field with mixed types will break the match.
If the target goes blank instead of filtering, the action is probably passing a field the target cannot match, or passing a continuous measure. Change the Target Filters setting to Selected Fields and pick the dimension.
If the target filters but never resets, revisit the Clearing the selection setting and switch it to Show all values. If the whole dashboard flickers or jumps, switch the action from Hover to Select.
If the action editor will not open, make sure the dashboard is the active tab and that you have edit rights to the workbook. On Tableau Public, you can create actions in your own published workbooks but not in someone else's view.
If nothing above helps, remove the action and rebuild it from scratch. Rebuilding takes a minute and clears any stale configuration that is hard to spot in the editor.
Frequently Asked Questions
Can I create an action filter on a single worksheet?
No. Actions are a dashboard feature. Place the worksheet on a dashboard first, then add the action.
What is the difference between a filter action and a highlight action?
A filter action removes non-matching marks from the target view. A highlight action keeps all marks visible but dims the ones that do not match.
Can one action filter several target sheets at once?
Yes. Tick multiple sheets under Target Sheets, but check the result carefully, since each target must contain the passing field.
Why does my action filter not work in Tableau Public?
Actions work in workbooks you own and edit. If you are viewing someone else's published dashboard, the actions are fixed by the author and cannot be changed.
Can I pass more than one field through a filter action?
Yes. Choose Selected Fields and tick several fields, provided each one exists in the target sheet.
Does an action filter change the underlying data?
No. It only changes what the dashboard displays. The data source and the worksheets themselves are untouched.