Smart Systems for Home

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

Tableau Tooltip Filter: How to Add It 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

You can add a filter to a Tableau tooltip by placing a worksheet that already has a filter action on a dashboard and setting that action to run on hover. In practice, tooltip filters are built with dashboard filter actions, not with a setting inside the tooltip editor itself. The tooltip shows a value, and hovering over the mark triggers an action that filters the target sheet. This guide walks through the reliable method, the common traps, and what to do when the hover does nothing.

What You'll Need

  • Tableau Desktop or Tableau Public (the web editing experience has fewer action options, so build the action on desktop where possible).
  • At least one worksheet with a dimension you want to filter by, and a second worksheet or dashboard you want filtered.
  • A dashboard that contains both sheets, because filter actions run on dashboards, not on individual sheets.
  • Basic familiarity with Marks cards and the tooltip editor.

Menu labels can differ slightly by Tableau version, edition and region. Where a label is uncertain, the steps describe the location generically.

Step-by-Step

  1. Build the source sheet. Create a worksheet that shows the dimension you want people to hover over, for example a bar chart of Region. Put the dimension on Columns or Rows and a measure on the other axis so each mark represents one value.
  2. Build the target sheet. Create the worksheet that should change when someone hovers. It must contain the same dimension field, or a related field, so Tableau can match the values.
  3. Place both sheets on a dashboard. Click the New Dashboard tab, then drag the source sheet and the target sheet onto the canvas. Size the source sheet small enough to act as a trigger, such as a strip of bars or a set of buttons.
  4. Open the tooltip editor on the source sheet. On the dashboard, select the source sheet, then open its tooltip settings from the sheet's menu or the Tooltip button on the Marks card. Add the text you want readers to see, such as the region name and a short instruction like "Hover to filter."
  5. Create a filter action. Go to Dashboard > Actions. In the Actions dialog, click Add Action and choose Filter. If you only see Change Parameter or Go to Sheet, you are not on a dashboard or the source sheet is not selected.
  6. Name the action. Give it a clear name such as "Region hover filter" so you can find it later.
  7. Set Source Sheets. Choose Selected Sheets and tick only the source sheet. Do not tick All Sheets, or hovering anywhere will fire the action.
  8. Set Target Sheets. Choose Selected Sheets and tick only the target sheet. Leave the source sheet unticked so it does not filter itself.
  9. Set the trigger to Hover. Under Run action on, choose Hover. The other options are Select, which requires a click, and Menu, which adds a command to the tooltip. Hover is the setting that makes the tooltip behave like a filter.
  10. Choose the fields to pass. Under Target Filters, select Selected Fields and pick the dimension that both sheets share, such as Region. If the field names differ, map them explicitly using the source and target dropdowns.
  11. Decide what happens on clear. Under Clearing the selection will, choose Show all values so the target sheet returns to its full state when the pointer leaves the mark. Choose Leave the filter if you want the last hover to stick.
  12. Test in presentation mode. Click the Presentation button or press the presentation shortcut, then hover each mark. The target sheet should update immediately. Test on the same screen size your audience will use, because small marks are hard to hover.

Common Mistakes

  • Looking for a filter option inside the tooltip editor. The tooltip editor only controls text. The filtering behaviour comes from Dashboard > Actions.
  • Running the action on All Sheets. This makes every hover on the dashboard fire the filter, including hovering over the target sheet, which can cause flicker or a loop.
  • Choosing Select instead of Hover. Select requires a click, so the tooltip appears but nothing filters.
  • Passing a field the target sheet does not contain. The action runs but the target does not change. Confirm the field exists on both sheets with the same name, or map it manually.
  • Building the action on a single sheet. Filter actions live on dashboards. If the Actions menu is greyed out, you are not on a dashboard.
  • Leaving the target sheet visible and large. A hover filter works best when the target is a detail view beside a compact trigger sheet.

Tips

  • Use a highlight action alongside the filter action so readers see which mark they are hovering before the target changes.
  • Keep the source sheet to one mark per value. Stacked bars and scatter plots make it hard to know which value is being hovered.
  • Write the tooltip text so it explains the interaction, for example "Region: Central. Hover to filter the detail view."
  • If the dashboard is published to Tableau Server or Tableau Cloud, re-test there. Action behaviour can differ from Desktop, especially on touch devices where hover is replaced by tap.
  • For touch screens, add a Select-based action as a fallback, because hover does not exist on touch.
  • Name actions clearly and review them before publishing. Old actions left on a dashboard are a common source of unexpected filtering.

Troubleshooting

The tooltip appears but nothing filters. Open Dashboard > Actions and confirm the action exists, is enabled, and is set to Hover. Then confirm the source and target sheets are ticked correctly.

The target sheet flickers or resets constantly. The action is probably running on All Sheets. Restrict it to the source sheet only.

The target shows no change even though the action fires. The field being passed is missing from the target sheet, or the values do not match. Check for spelling differences, leading spaces, or a different data type such as text versus number.

The action does not run in the browser. Some action types are limited in the web authoring environment. Recreate the action in Tableau Desktop and republish, then test in the browser again.

Hover does nothing on a tablet or phone. Touch devices have no hover state. Add a Select action or a Menu action so readers can trigger the filter deliberately.

The tooltip is cut off. Shorten the text or widen the source sheet. Very long tooltips can also be hard to read on small screens.

If none of that works, remove the action, save, and rebuild it from scratch. Rebuilding is faster than debugging a half-configured action, and it rules out a stale dashboard state.

Frequently Asked Questions

Can I add a filter directly inside the tooltip text?

No. The tooltip editor only edits text and inserted fields. Filtering on hover is done with a dashboard filter action, and the tooltip is where you tell the reader to hover.

Does a tooltip filter work on a single worksheet?

No. Filter actions run on dashboards. You need both the trigger sheet and the target sheet on the same dashboard.

What is the difference between Hover, Select and Menu?

Hover runs the action when the pointer rests on a mark. Select runs it when the mark is clicked. Menu adds a command inside the tooltip that the reader must click.

Why does my target sheet filter to the wrong value?

The action is usually passing a different field than you expect, or the field values do not match exactly between sheets. Check the Target Filters mapping and compare the underlying data.

Can I stop the filter from clearing when I move the mouse away?

Yes. In the action settings, set Clearing the selection to Leave the filter. The last hovered value stays applied until another hover changes it.

Will the tooltip filter work on a published dashboard?

Yes, if the action is configured and the workbook is published with it. Test in the browser after publishing, and remember that touch devices need a Select or Menu action instead of hover.