01 / 20

Parameter &
Dashboard Actions

Master parameters and dashboard actions to build interactive, user-driven Tableau dashboards that respond to clicks, selections, and filters in real time.

Tableau

What Is a Parameter?

A parameter is a dynamic, user-controlled variable that can store a single value: a string, integer, float, date, or boolean. Unlike filters that restrict data, parameters inject values into calculations, reference lines, and titles.

What Are Dashboard Actions?

Dashboard actions let sheets inside a dashboard communicate with each other. When a user hovers, selects, or opens a menu on a mark, an action fires and changes something elsewhere on the dashboard.

Filter
Clicking a mark filters other sheets to related data
Highlight
Hovering dims unrelated marks and spotlights related ones
URL
Clicking opens an external webpage or embedded content

Why Interactivity Matters

Static charts answer one question. Parameters and actions let a single dashboard answer hundreds of questions because the viewer controls the analysis. This is the leap from reporting to self-service analytics.

1
Reduce dashboard sprawl: one view replaces many static copies
2
Empower users: explore data without asking a developer to rebuild
3
Tell richer stories: guided analytics with drill-down paths

Anatomy of a Parameter

Parameter Name Data Type Allowable Values e.g., "Select Metric" String, Integer, Float, Date, Boolean All, List, or Range Used in: Calculated Fields, Reference Lines, Titles, Filters

Three Core Dashboard Actions

Source User clicks a mark Filter Action Highlight Action URL Action Parameter Action Target Sheet or parameter

Filter vs. Parameter Actions

Filter Action Parameter Action
What it does Restricts rows in target sheet Sets a parameter value
Scope Target sheet only Entire workbook (any calc using it)
Multi-select ✓ Yes ✕ Single value only
Clears on deselect Configurable Keeps last value
Use case Cross-filtering dashboards Dynamic calculations, swap measures

Creating a Parameter: Step by Step

1
Right-click in the Data pane → Create Parameter
2
Name it descriptively (e.g., "Select Metric") and choose a data type
3
Set allowable values: All, List, or Range. For a list, add display aliases
4
Set a current value (default). Click OK
5
Right-click the parameter → Show Parameter to display the control on the view

Parameters in Calculated Fields

The most common pattern is a CASE statement that reads the parameter value and returns a different measure:

// Calculated field: "Dynamic Metric"
CASE [Select Metric]
  WHEN "Sales" THEN [Sales]
  WHEN "Profit" THEN [Profit]
  WHEN "Quantity" THEN [Quantity]
END

Setting Up a Filter Action

1
Go to Dashboard → Actions → Add Action → Filter
2
Choose the source sheet (where the user clicks)
3
Choose the target sheet(s) that will be filtered
4
Set the trigger: Hover, Select, or Menu
5
Configure "Clearing the selection": keep all, exclude all, or show all values

Setting Up a Parameter Action

1
Create a parameter (e.g., "Selected Region", type: String)
2
Go to Dashboard → Actions → Add Action → Change Parameter
3
Set source sheet and trigger (Select is most common)
4
Choose the target parameter and the source field whose value will be written
5
Set aggregation (for numeric fields): None, Sum, Average, Min, Max, etc.

Example 1: Dynamic Measure Swap

Select Metric Sales ▾ Parameter control CASE Statement "Dynamic Metric" Calculated field Viz updates User changes "Sales" → "Profit" CASE reads new value → returns [Profit] Chart redraws with profit data instantly

Example 2: Click-to-Zoom with Parameter Action

Map Sheet User clicks "West" Parameter Action [Selected Region] = "West" Detail Bar Filters to West KPI Card Shows West totals Dashboard title: "Region Detail: West"

Example 3: Combined Filter + Parameter

Build a dashboard where clicking a product category simultaneously filters a detail table and sets a parameter for a dynamic KPI title.

1
Create parameter "Selected Category" (String, List: Technology, Furniture, Office Supplies)
2
Add Filter Action: bar chart → detail table (source field: Category)
3
Add Parameter Action: bar chart → "Selected Category" (source field: Category)
4
Use parameter in title: "Performance Detail: <Parameters.Selected Category>"

Highlight & URL Actions

Highlight Action
Hovering or selecting dims unrelated marks across all target sheets. Great for spotting patterns without losing context. Set trigger to Hover for instant feedback.
URL Action
Opens a web page when a mark is clicked. Use field tokens in the URL: https://example.com/<Region>. Perfect for linking to external documentation or embedded web objects.

Common Mistakes

✕ Unreferenced Parameter
Creating a parameter but never using it in a calculated field, filter, or reference line. It sits idle.
✕ Data Type Mismatch
Parameter is String but source field is Integer: the action silently fails or writes unexpected values.
✕ Wrong Clearing Behavior
Filter action set to "Exclude All Values" on clearing: clicking empty space hides all data instead of resetting.

Action Types at a Glance

Feature Filter Highlight URL Parameter
Changes data shown ✓ ✕ ✕ Indirect
Multi-select ✓ ✓ ✕ ✕
Hover trigger ✓ ✓ ✕ ✓
Workbook-wide ✕ ✕ N/A ✓
Best trigger Select Hover Menu Select

Question 1 of 5

A parameter in Tableau is best described as:

Question 2 of 5

Which action type writes a field value from a clicked mark directly into a parameter?

Question 3 of 5

A filter action is set to "Exclude All Values" when the selection is cleared. What happens when the user clicks empty space on the dashboard?

Question 4 of 5

Which trigger type is best suited for a Highlight Action that gives instant visual feedback?

Question 5 of 5

You create a parameter called "Top N" (Integer, Range: 1 to 20). Which is the correct way to use it in a calculated field to rank products?