BlogTableau

Tableau Parameter Actions: How to Build Dynamic, User-Controlled Dashboards

Obed Tsimi
Obed Tsimi
Founder & Senior Tableau Architect
·July 1, 20269 min read

Parameter Actions let users change parameter values by clicking on the viz — enabling dynamic what-if analysis, switchable KPIs, and user-controlled calculations without custom extensions.

The quick answer

Parameter Actions allow users to change Tableau parameter values by directly interacting with the visualisation — clicking on a mark, selecting a range, hovering over a data point. Before Parameter Actions (introduced in Tableau 2019.2), parameters could only be changed through a manual input control (a slider, dropdown, or text box). Parameter Actions enable interactive experiences like click-to-see-detail, dynamic what-if analysis triggered by data exploration, and switchable metrics without manual parameter controls. They are among the most powerful interactive design tools in Tableau and are underused in most enterprise dashboards.

What parameters are in Tableau

A parameter is a workbook variable — a single value (string, integer, float, boolean, date) that the user can change and that calculations, filters, and reference lines can reference. Parameters are not data source values; they are dashboard state that the user controls.

**Common parameter uses**: switching between metrics (SUM of Revenue vs SUM of Quantity), dynamically setting a target line on a bar chart, controlling the time window of a filter (show last N days, where N is the parameter), switching between aggregation levels (daily/weekly/monthly).

How Parameter Actions work

A Parameter Action is a dashboard action (like a filter action or a URL action) that maps a field value in the source view to a parameter. When the action triggers (on click, hover, or menu), the parameter value updates to the field value from the selected mark.

**Configuration**: create a Parameter Action from Dashboard > Actions > Add Action > Change Parameter. Define: the source sheet (which sheet's marks trigger the action), the trigger (click, hover, select, or menu), the target parameter (which parameter to change), and the source field (which field's value sets the parameter).

**Aggregation**: when the user selects multiple marks, the Parameter Action must resolve the field values to a single parameter value. Aggregation options: minimum, maximum, sum, average, count, median, attribute (all selected values must be the same, or the action does not fire). For most use cases, minimum or maximum is appropriate.

Key use cases

**Click-to-drill-down detail**: a summary bar chart shows sales by region. A detail table below shows the transactions for the selected region. Without Parameter Actions, this requires a filter action (which actually filters the detail table's data source). With a Parameter Action, clicking a bar sets a parameter to the region name; a calculated field on the detail table shows only the selected region's records without using a dashboard filter. This distinction matters when you want the detail table to show "nothing selected" state differently from "filtered to empty".

**Dynamic what-if analysis**: a line chart shows actual revenue with a parameter-controlled target line. The user clicks on a historical month's bar to set the parameter to that month's revenue — instantly showing "what if this month's target was [that value]". Implemented by mapping the date mark's sales value to the target parameter.

**Switchable KPI cards**: a dashboard with multiple KPI cards where clicking one card "selects" it and highlights it while showing detail for that KPI. The click action sets a "selected KPI" parameter; conditional formatting on all cards uses an IF calculation to highlight the selected one.

**Dynamic reference lines**: a scatter plot shows customer lifetime value vs acquisition cost. Clicking a customer mark sets parameter values to that customer's LTV and acquisition cost, drawing reference lines at those values on the scatter plot — enabling easy comparison of any customer to the full distribution.

**Hierarchical navigation without filter actions**: a geographic treemap at country level. Clicking a country sets a "selected country" parameter; a second sheet filtered by that parameter shows regional detail. The navigation is controlled by the parameter, not a filter action — giving more control over what "nothing selected" looks like.

Parameter Actions vs Filter Actions

Both enable interactive dashboard drill-down, but with important differences:

**Filter Actions** filter the target sheet's data — clicking a mark in the source sheet applies a filter to the target sheet, showing only data matching the selection. The target sheet's marks change.

**Parameter Actions** change a parameter value — the target sheet uses the parameter in a calculated field or reference line. The data in the target sheet does not necessarily filter; it responds to the parameter however the calculation specifies.

**When to use Parameter Actions over Filter Actions**: when you want precise control over how the target sheet responds to the selection (not just "show matching records"); when the target sheet should maintain all its data but highlight or annotate based on the selection; when you want the "nothing selected" state to show something specific (a default message, an aggregate view) rather than all data or no data.

Parameter Action patterns

**Dual-parameter range selection**: two parameters define a range (start date + end date). Two separate Parameter Actions — one per parameter — allow users to click a bar in a timeline chart to set the start date (with MIN aggregation) and then click another bar to set the end date (with MAX aggregation). The main chart then shows only the selected range.

**Parameter passthrough with string concatenation**: for labels that update based on selection, set a string parameter to a category or label field value; use that parameter in a calculated field that appears in a title or annotation.

**Reset parameter**: add a separate "reset" button (a static text box styled as a button, or a blank mark on a dedicated reset sheet) that, when clicked, fires a Parameter Action setting the parameter to a sentinel value (0, "All", empty string). Use this to reset parameter-driven selections without requiring the user to manually change the parameter control.

Common pitfalls

**Aggregation mismatch**: if the action's aggregation setting does not match the intended behaviour, the parameter value is wrong. A "click to set threshold" action that uses SUM aggregation on a value field will set the parameter to the sum of the clicked mark's value — which on an aggregated bar chart is the bar's total, not the underlying records' value. Choose aggregation deliberately.

**Parameter type mismatch**: the source field's data type must match the parameter's data type. Clicking a date field to set an integer parameter fails silently. Ensure type alignment.

**Action scope**: confirm the action's source sheet is correctly scoped. An action configured on "all sheets in the dashboard" may fire unexpectedly when interacting with unintended sheets. Scope actions to specific source sheets.

For the broader Tableau calculated field context that parameter-driven calculations use, see tableau calculated fields. For LOD expressions that are often combined with Parameter Actions, see tableau lod expressions. For Tableau embedding where Parameter Actions need to be controlled programmatically, see tableau embedding guide.

Our Tableau consulting practice designs advanced Tableau dashboards — including Parameter Action-driven navigation, dynamic analysis tools, and enterprise-grade interactive experiences. Book a free 30-minute audit to discuss your Tableau development requirements.

Get your data architecture audit in 30 minutes.

A former Microsoft data architect audits your data foundation, identifies your top priorities, and sends you a written plan. Free. No pitch.

Book a Call →