Skip to main content
Albero Academy

Parameters

User-controlled inputs that make views interactive.

Calculations7 min

A parameter is a single value the user can change — a number, date, or list choice — that you reference in calculations, filters or reference lines. Parameters turn a static view into an interactive "what-if" tool.

Using parameters

a parameter in a calc
Parameter: [Target] (a number the user sets)
Above Target = IF SUM([Sales]) > [Target] THEN "Yes" ELSE "No" END
// Or a parameter that swaps the measure shown:
Selected Measure = CASE [Choose Metric]
WHEN "Sales" THEN SUM([Sales])
WHEN "Profit" THEN SUM([Profit])
END

Key takeaways

  1. 01A parameter is a single user-controlled value (number, date, list).
  2. 02Reference it in calculations, filters or reference lines.
  3. 03A common pattern is a measure/dimension swap via parameter + CASE.
  4. 04Parameters feed calculations; they don't filter data on their own.

Finished this chapter?

Mark it complete to track your progress through Tableau.