Parameter actions enable you to map visualization fields to parameters, transforming
static charts into interactive navigation tools. This setup enables users to trigger dashboard
updates by clicking data points, streamlining data exploration within a single
interface.
Required Editions
In this example you're going to set up a parameter to return a value,
units_sold_by_region, when users click a visualization data point.
-
Create a parameter.
-
Parameter Name: Quantity
-
Data Type: Number
-
Parameter Type: Single Value
-
Default Value: 0
-
Create a calculated field for the parameter that contains logic for the
units_sold_by_region field.
-
Open the dashboard and add a parameter widget.
-
Click Add Parameter and select your parameter.
-
Select a visualization then click the Actions tab.
-
Click Add Action, Select Parameter, then
select your parameter.
-
Click Field and select units_sold_by_region
for the parameter widget to return.
-
Click Done and save your dashboard.
-
To see the units sold in the parameter, preview the dashboard and start clicking data
points on the visualization.