Smart Systems for Home

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

Tableau Action Filters: Step-by-Step How-To

· 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

An action filter in Tableau lets a user click a mark—a bar, a point, a slice—and have that selection filter or highlight other sheets in the same dashboard. You build it from the dashboard’s Actions dialog, not from the worksheet’s filter shelf, and it takes only a few minutes once the sheets are on a dashboard. You need Tableau Desktop or Tableau Cloud/Server with permission to edit the workbook, at least two worksheets, and a dashboard that contains them. Labels in the Actions dialog can differ slightly by Tableau version and by whether you are on Desktop or in the browser.

What You'll Need

  • Tableau Desktop, or Tableau Cloud/Server with edit rights to the workbook. The exact menu wording can vary slightly by version.
  • At least two worksheets that share a common field—for example, a category or region field—so the action has something to filter on.
  • A dashboard containing those worksheets. Actions run on dashboards, not on individual sheets.
  • Data that is already connected and loaded; no special data source type is required.

Step-by-Step

  1. Open your workbook in Tableau Desktop (or edit it in the browser). Confirm the source sheet and the target sheet each contain the field you want to filter by—for example, both sheets should have a Category field if clicking a category should filter the second sheet.
  2. Create a dashboard: choose Dashboard > New Dashboard, then drag both worksheets from the Sheets list onto the dashboard canvas. Arrange them so the source sheet is visible and easy to click.
  3. With the dashboard active, open the Actions dialog: choose Dashboard > Actions. In Tableau Desktop this opens the Actions dialog; in Tableau Cloud/Server the same command is available from the dashboard’s menu when you are editing.
  4. Click Add Action and choose Filter. (Other action types are Highlight and Go to Sheet; Filter is the one that changes what the target sheet displays.)
  5. In the Filter Action dialog, give the action a clear name, such as “Filter detail by category.”
  6. Set the Source Sheets: tick the sheet the user will click. Leave other sheets unticked unless you want them to trigger the action too.
  7. Set the Target Sheets: tick the sheet or sheets that should respond. A common setup is one source and one target.
  8. Choose how the action runs. “On hover” filters as the pointer passes over a mark; “On select” waits for a click; “On menu” adds the action to a tooltip/menu. On select is the most predictable for dashboards that will be used on touch screens or by people who are new to Tableau.
  9. Set what happens when the selection is cleared. “Show all values” returns the target sheet to its unfiltered state; “Leave the filter” keeps the last selection. Show all values is usually the least confusing.
  10. In the Target Filters section, map the field from the source sheet to the matching field on the target sheet. If both sheets use the same field name, Tableau usually selects it automatically; if not, choose the correct target field from the drop-down.
  11. Decide whether to clear the selection when the user clicks outside a mark. The option “Clearing the selection will” controls this; “Show all values” is the safe default.
  12. Click OK to close the Filter Action dialog, then OK again to close the Actions dialog.
  13. Test it: on the dashboard, click a mark in the source sheet. The target sheet should redraw to show only matching rows. Click the same mark again or click empty space, depending on your clearing setting, and the target should return to all values.
  14. If you need the action to work in a published view, publish the workbook to Tableau Cloud/Server and test there as well; action behaviour follows the workbook, but permissions and browser rendering can affect how it feels.

Common Mistakes

The most frequent problem is building the action on a worksheet instead of a dashboard. Actions live on dashboards; if you are on a single sheet, Dashboard > Actions will not give you the same result. Another common mistake is mapping the wrong fields—clicking Category on the source but mapping it to Sub-Category on the target, which produces empty or unexpected results. Also check that the target sheet is actually on the same dashboard; an action cannot filter a sheet that is not present. Finally, “On hover” can feel twitchy on dense dashboards, and “Leave the filter” can make users think the dashboard is stuck, so match the trigger and clearing behaviour to how the dashboard will be used.

Tips

Name actions descriptively so you can find them later in the Actions list. Use “On select” for touch devices and for dashboards shown to people unfamiliar with Tableau. If a dashboard has several actions, review them together—one action can undo another if their target sheets overlap. Test with a filter that returns zero rows to confirm the target sheet shows an empty state rather than an error. Keep the source sheet’s marks large enough to click; small marks make selection frustrating. If you want a click to do two things, such as filter one sheet and highlight another, add two separate actions rather than trying to combine them.

Troubleshooting

If clicking does nothing, confirm the action is enabled in Dashboard > Actions and that the source sheet is ticked. If the target sheet goes blank, the field mapping is probably wrong or the target field has no matching values; re-open the action and check the Target Filters mapping. If the action fires on hover when you wanted a click, change the run option to “On select.” If the target never returns to all values, change the clearing behaviour to “Show all values.” If the action works in Desktop but not after publishing, check that the published workbook kept the dashboard and that your browser is not blocking the interaction; try a different browser or sign out and back in. If the Actions dialog is greyed out, you are probably not in edit mode or do not have permission to edit the workbook—ask the workbook owner or sign in with an account that can edit.

Frequently Asked Questions

Can an action filter more than one target sheet?

Yes. In the Filter Action dialog you can tick multiple target sheets, and each will respond to the same selection.

Does an action filter work on a single worksheet?

No. Actions are a dashboard feature. Put the sheets on a dashboard first, then create the action.

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

A filter action changes which rows the target sheet displays. A highlight action keeps all rows visible but emphasises the matching marks.

Can I use an action to navigate to another sheet?

Yes, that is a Go to Sheet action rather than a filter action. Add it from the same Dashboard > Actions dialog.

Why does my target sheet show no data after I click?

Usually the field mapping is wrong or the target field has no values in common with the source selection. Re-open the action and check the Target Filters mapping.

Do action filters work in Tableau Public?

Yes, action filters are part of the dashboard feature set and work in published views, including Tableau Public, when the workbook is built with them.