Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Add Filter Action in Tableau: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To add a filter action in Tableau, open the dashboard that contains the source and target sheets, go to Dashboard > Actions, click Add Action > Filter, then configure the source sheet, target sheet, and the field that links them. Filter actions let a click on one chart filter the other views on the same dashboard, which is the fastest way to build an interactive drill-down without editing each sheet manually.

What You'll Need

  • Tableau Desktop or Tableau Public on a computer (filter actions are configured in the authoring tool, not in the browser-based Tableau Cloud viewer).
  • A dashboard with at least two worksheets: one that will act as the source (the chart you click) and one or more targets (the charts that get filtered).
  • A common field in both sheets, such as Region, Category, or Customer ID, that the action can use as the link.
  • Both sheets placed on the same dashboard tab. Actions do not fire across separate dashboards.

Step-by-Step

  1. Open the dashboard. In Tableau Desktop, click the dashboard tab at the bottom of the workbook. If you have not built one yet, create a new dashboard and drag your source and target sheets onto the canvas from the Sheets list on the left.
  2. Confirm the linking field. Make sure the field you want to filter by (for example, Region) is present in both the source and target worksheets, either on Rows, Columns, Detail, or as a filter. If the target sheet does not contain that field, the action will have nothing to match on.
  3. Open the Actions dialog. From the top menu, choose Dashboard > Actions. The Actions dialog lists any existing actions for this dashboard.
  4. Add a Filter action. Click Add Action and choose Filter. A configuration panel opens with three tabs: Source Sheets, Target Sheets, and Selected Fields (the labels can differ slightly by Tableau version and platform).
  5. Set the source sheet. On the Source Sheets tab, tick the worksheet that users will click. If you want the action to fire from several charts, tick each one. Leave the others unticked.
  6. Set the target sheets. On the Target Sheets tab, tick the worksheets that should be filtered. A common setup is to leave the source sheet unticked here so the clicked chart does not filter itself, which can look confusing.
  7. Choose the linking field. On the Selected Fields tab, select Selected Fields and map the source field to the matching target field. In most cases you pick the same field on both sides (Region to Region). If the field names differ between sheets, map them explicitly rather than relying on the default.
  8. Set the run behaviour. Choose when the action fires: on hover, on select (click), or on menu. On select is the most predictable for most dashboards because it waits for a deliberate click. On hover can feel jumpy on dense charts.
  9. Decide what happens when the selection is cleared. Under the clearing behaviour, choose whether all values show again or the filter is removed entirely. Showing all values is usually the least surprising.
  10. Name and save the action. Give it a clear name such as "Filter by Region" and click OK to close the configuration panel, then OK again to close the Actions dialog.
  11. Test it. Click a mark in the source sheet and watch the target sheets. If nothing changes, reopen Dashboard > Actions, select your action, and click Edit to check the source, target, and field mapping.

Common Mistakes

  • Filtering the source sheet by itself. Ticking the source sheet as a target often makes the clicked chart collapse to a single mark, which hides the selection the user just made. Leave it unticked unless you specifically want that.
  • Using fields that do not match. If the source uses a calculated field or a differently named field than the target, the action silently does nothing. Map the fields explicitly on the Selected Fields tab.
  • Forgetting the target sheet is already filtered. A filter action cannot override an existing filter on the target sheet that excludes the selected value. Check the target's Filters shelf first.
  • Setting the action to run on hover on a busy dashboard. Rapid hover changes can make the dashboard flicker. Use on select for clarity.
  • Expecting the action to work in a published view without the right permissions. Filter actions run in the published dashboard, but if a user cannot see the underlying data, the action may appear to do nothing.

Tips

  • Use a highlight action alongside a filter action when you want to emphasise a mark without removing the rest of the view.
  • Give source sheets a clear title such as "Click a region to filter" so users know the chart is interactive.
  • Keep the number of target sheets small. Each target re-queries the data source, so many targets can slow a large dashboard.
  • Test with a user account that has the same permissions as your audience, not just your authoring login.
  • If you need the same behaviour on several dashboards, recreate the action on each one; actions are scoped to a single dashboard.

Troubleshooting

If the action does nothing, work through these checks in order. First, confirm the dashboard is the active tab and that the source and target sheets are actually on it. Second, reopen Dashboard > Actions, select the action, and click Edit to verify the source sheet, target sheet, and field mapping are all ticked. Third, check whether the target sheet already has a filter that excludes the selected value. Fourth, try switching the run behaviour from hover to select to rule out a hover-trigger problem. Fifth, save the workbook and reopen it; occasionally a stale dashboard state clears after a reload. If the action works in Tableau Desktop but not in a published view, check the user's permissions on the data source and confirm the published workbook includes the action. If none of that helps, delete the action and recreate it from scratch, which resets any hidden configuration.

Frequently Asked Questions

Can I add a filter action in Tableau Public?

Yes. Filter actions are configured in Tableau Public Desktop the same way as in Tableau Desktop. The published view on the web supports the action, but configuration happens in the desktop authoring tool.

Why does my filter action only work on some marks?

Actions fire on marks that have the linking field in the view. If a mark is an aggregate that does not carry the field, or the field is missing from the target, the action has nothing to match. Add the field to Detail on both sheets.

Can a filter action filter multiple target sheets at once?

Yes. On the Target Sheets tab, tick every worksheet that should respond. Each one re-queries, so keep the list short on large data sources.

What is the difference between a filter action and a parameter action?

A filter action changes which rows the target sheet shows based on a selected mark. A parameter action passes a value into a parameter, which then drives calculations or filters. Use a filter action for simple click-to-filter behaviour.

Does a filter action work on a dashboard with only one sheet?

It can, but it is rarely useful. With a single sheet, the action usually filters the source itself, which hides the selection. Add a second sheet as the target.

Can I undo a filter action?

Yes. Open Dashboard > Actions, select the action in the list, and click Delete. The action is removed from the dashboard; the worksheets themselves are not changed.