Smart Systems for Home

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

How to Use Action Filters in Tableau: Step-by-Step

· 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 use an action filter in Tableau, you create a dashboard action that passes a selected value from one worksheet to another and filters the target sheet by that value. The core steps are: build the source and target sheets, place both on a dashboard, then choose Dashboard > Actions > Add Action and configure the filter action to run on select, hover, or menu. This guide walks through the exact clicks, the settings that matter, and the common traps that make an action appear to do nothing.

What You'll Need

  • Tableau Desktop (any recent version). Action filters are not available in Tableau Reader or in the browser authoring view of Tableau Public; you need Desktop or a licensed Tableau Cloud/Server authoring environment.
  • A workbook with at least two worksheets that share a field you can filter on — for example, a Category field in a bar chart and the same Category field in a detail table.
  • Both worksheets added to a dashboard. Actions only fire on dashboards, not on individual sheets.

Menu labels can differ slightly by version and platform. The steps below use Tableau Desktop on Windows or Mac; the Dashboard menu and Actions dialog are in the same place on both.

Step-by-Step

  1. Build the source sheet. Create the worksheet that users will click. Put the field you want to filter by on Rows or Columns — for example, drag Category to Columns and Sales to Rows to make a bar chart. This sheet is the trigger.
  2. Build the target sheet. Create the worksheet that should respond. Add the same Category field to it (on Rows or Filters) plus whatever measures or dimensions you want to show. Do not filter it down to one category yet — the action will do that dynamically.
  3. Create a dashboard. Click the New Dashboard tab at the bottom of the workbook, or choose Dashboard > New Dashboard. Drag both worksheets from the Sheets list on the left onto the dashboard canvas.
  4. Open the Actions dialog. With the dashboard active, choose Dashboard > Actions. The Actions dialog lists any existing actions and has buttons to add one.
  5. Add a Filter action. Click Add Action and choose Filter. (The other types — Highlight and Go to URL — behave differently; Filter is the one that narrows the target sheet.)
  6. Name the action. Give it a clear name such as "Filter detail by category". This name appears in the tooltip and in the menu if you choose menu-run actions.
  7. Set Source Sheets. Under Source Sheets, tick only the sheet users will click (the bar chart). Leave the target sheet unticked here.
  8. Set Target Sheets. Under Target Sheets, tick the sheet that should be filtered (the detail table). Do not tick the source sheet unless you deliberately want it to filter itself.
  9. Choose the run behavior. Select On select, On hover, or Menu. On select is the most predictable: the user clicks a mark and the target filters. On hover fires as the cursor passes over marks and can feel jumpy. Menu adds a small menu the user must open.
  10. Clear the selection behavior. Decide what happens when the user clicks empty space. Show all values is usually the right choice so the target resets to unfiltered. Leaving selection shows only the selected value until another click.
  11. Set the target filter. In the Target Filters section, map the source field to the target field. If both sheets use the same field name, Tableau usually pre-fills it. If the names differ, choose Selected Fields and add the pairing manually.
  12. Click OK, then test. Close the Actions dialog and click a mark on the source sheet. The target sheet should redraw to show only matching rows. Click empty space to confirm the reset behavior works.
  13. Check the tooltip. Hover a mark on the source sheet. The action name and instructions should appear in the tooltip; if they do not, the action is not attached to that sheet.

Common Mistakes

  • Running the action on a sheet instead of a dashboard. Actions only work on dashboards. If you test on a single worksheet, nothing happens.
  • Ticking the source sheet as a target. This makes the chart filter itself and can look like the action is broken. Untick it unless self-filtering is intended.
  • Mismatched field names. If the source uses "Category" and the target uses "Product Category", the automatic mapping fails. Use Selected Fields to pair them explicitly.
  • Leaving the target sheet pre-filtered. A hard filter on the target sheet can conflict with the action and produce empty views. Remove manual filters on the field the action controls.
  • Using On hover for dense views. Hover actions fire constantly on scatter plots and maps, making the dashboard flicker. Use On select instead.
  • Forgetting the reset behavior. Without Show all values, users can get stuck on one selection and think the dashboard is frozen.

Tips

  • Name actions in plain language — the name shows in tooltips, so "Click a bar to filter the table" is more useful than "Action 1".
  • Use a single source sheet to drive several targets. One click can filter a table, a map, and a KPI sheet at once if all are ticked as targets.
  • Combine a Filter action with a Highlight action on the same source: filter the detail table and highlight matching marks in a third chart.
  • Test with a viewer account or in presentation mode. Some behaviors differ between authoring and viewing.
  • Keep the target sheet's marks light. Action filters re-query on every click, so heavy calculations on the target can make the dashboard feel slow.

Troubleshooting

  • Nothing happens on click. Confirm the action is attached to the correct source sheet, that the dashboard (not a worksheet) is active, and that the run behavior matches how you are interacting (On select needs a click, On hover needs a hover).
  • The target goes blank. The mapped fields probably do not match in data type or value. Check that both fields contain the same values and are not aliased differently.
  • The target does not reset. Reopen Dashboard > Actions, select the action, and set Clearing the selection to Show all values.
  • The action fires on the wrong sheet. In the Actions dialog, review Source Sheets and Target Sheets; it is easy to tick the wrong box when several sheets are on the dashboard.
  • The action works in Desktop but not when published. Check that the published workbook includes all sheets and that the user has permission to see the target sheet. Actions cannot reveal data a user is not permitted to view.
  • Performance drags after adding actions. Reduce the number of targets, simplify calculations on the target sheet, or switch from On hover to On select.

Frequently Asked Questions

Can I use an action filter on a single worksheet?

No. Actions are a dashboard feature. Place the sheet on a dashboard and configure the action there.

What is the difference between a Filter action and a Highlight action?

A Filter action removes non-matching rows from the target sheet. A Highlight action keeps all rows visible but emphasizes the matching marks.

Can one action filter multiple target sheets?

Yes. In the Actions dialog, tick every sheet that should respond under Target Sheets.

Why does my action filter only work when I click a specific mark?

The source sheet may have marks that do not carry the field being mapped — for example, a text table where the field is not on the view. Put the filter field on the source sheet's Rows, Columns, or Detail shelf.

Do action filters work in Tableau Public?

They work in published dashboards created in Tableau Desktop, but authoring actions inside the browser editor is limited. Build and test in Desktop first.

Can I stop users from clearing the selection?

Set Clearing the selection to Keep current selection. The target then stays on the last clicked value until another mark is selected.