# Parameters in calculations, filters and reference lines

*Tableau Data Analyst Study Guide · Explore and Analyze Data · Last updated October 29, 2026 · https://www.certifyforce.com/study-guide/tableau-data-analyst/explore-and-analyze-data/parameters-in-calculations-filters-and-reference-lines*

Create a parameter (data type, All, List or Range), tie it to a calculated field, a Top N filter or a reference line or band, expose it with a parameter control or a parameter action, and make its list and current value refresh when the workbook opens.

- Certification: Salesforce Tableau Data Analyst
- Exam section: Explore and Analyze Data
- Study guide: https://www.certifyforce.com/study-guide/tableau-data-analyst

**Official exam objective:**

> Create parameters to enable interactivity: In calculations; With filters; With reference lines; Set parameters to dynamically refresh.

## What the exam expects

- Create a parameter with the right data type and allowable values, and show its control.
- Use a parameter in a calculated field, a Top N filter and a reference line or band, and diagnose one that "does nothing".
- Make a parameter's list and current value refresh when the workbook opens, and predict failures.
- Configure a parameter action's run on, aggregation and clearing settings; the rest is in Set actions, parameter actions, dynamic zones and buttons.

Key terms:
- **Parameter:** a workbook variable that can replace a constant value.
- **Parameter control:** a worksheet card for changing the value.
- **Allowable values:** All (a text field), List (pick from values) or Range (minimum, maximum and step size).
- **Dynamic parameter:** a parameter whose list of values or current value refreshes from the data.

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Where parameters replace constants | Calculations, filters (Top N), reference lines, bands and boxes | [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm) |
| String parameter | Doesn't support Range | [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm) |
| Reference line from a parameter | Drawn at the parameter's Current Value | [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm) |
| Reference band | Value (From) and Value (To), each can be a parameter | [Reference Lines, Bands, Distributions, and Boxes](https://help.tableau.com/current/pro/desktop/en-us/reference_lines.htm) |
| Dynamic refresh timing | When the workbook opens, or Refresh on the data source (F5) | [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm) |
| Current value calculation | Single-value, view-independent; FIXED LOD | [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm) |
| Default field returns null | Current value keeps the latest valid value | [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm) |
| Empty list fallback | 1, 1.0, "" or the current date by data type | [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm) |
| Parameter action, Aggregation None | Does not run when selected marks have different values | [Parameter Actions](https://help.tableau.com/current/pro/desktop/en-us/actions_parameters.htm) |

## Check yourself

- Which allowable values option turns the parameter control into a simple text field?
- Why is a dynamic parameter's list of values empty when its default field fails to return values?
- When can a parameter action stand in for a parameter control?
- What current value does an integer parameter fall back to when its list is empty and no current value can be assigned?

## Sources

- [Create Parameters](https://help.tableau.com/current/pro/desktop/en-us/parameters_create.htm)
- [Reference Lines, Bands, Distributions, and Boxes](https://help.tableau.com/current/pro/desktop/en-us/reference_lines.htm)
- [Parameter Actions](https://help.tableau.com/current/pro/desktop/en-us/actions_parameters.htm)
- [Filter Data from Your Views](https://help.tableau.com/current/pro/desktop/en-us/filtering.htm)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 13 linked practice questions, and unlimited timed mock exams are included with the Tableau Data Analyst pack (USD $19): https://www.certifyforce.com/practice-exams
