Use variables in analyses using parameters
Parameters defined for calculated fields can take variable values as input.
Open the Configuration panel of the component.
Add an analysis criterion by clicking Add dimension or Add measure in the Configuration panel. The Model panel opens.
In the Model panel, select the calculated field containing the parameter you created. The Define field parameters panel opens.
Example
Model panel with the calculated field added to the Activity object.

Specify the parameter value in the Define field parameters panel.
To specify a default value for the parameter, click the input field and enter a value.
To leave the parameter value empty, click NULL.
To add a variable to parameter, click the
variable icon.
Select a variable in the drop-down menu. The menu provides the variables created for the analysis.

Click Done.
You have inserted a calculated field into the analysis, which contains a parameter with a variable you specified.
A calculated field is assigned to the Table component. The calculated field contains a parameter for which a variable is specified. The variable receives the variable values from the Input component via a drop-down menu.
