Parameters vs Filters in Tableau

Understanding parameters are much more flexible and act as variables within a Tableau workbook. They aren't tied directly to a field but are user-defined values that can be used in a calculation, filter or a reference line.


Parameters

By definition a parameter is a workbook-level variable whose value can be controlled by the user. It's a single value that can be a number, string, date or a boolean. Parameters are a key component for creating dynamic and interactive dashboards.


Use Cases

  1. 'What-if' analysis - allowing a user to input a sales target and see how it compares to actual sales.
  2. Measure swapping - Letting a user switch between viewing sales, profit or quantity on a single chart.
  3. Dynamic Calculations - Changing the value of a key variable in a calculation (i.e. showing a rolling Top N or Bottom N based on a user-selected number)


The Key Characteristics

  1. Single-select only
  2. Workbook-wide scope, meaning they can affect any sheet in the workbook.
  3. Values are user-defined and not always limited to the data source - unless preset.
  4. In order for them to work, they have to b used in a calculated field in order to affect the visualizations.


How to use them together for Maximum Impact

In order to make parameters work in Tableau a calculated field that uses it's value. This field is then what is used as a filter.

In order to create a parameter for the user to select a price range to change the view of a chart for example you would need to do the following:

  1. First, create the parameter for the maximum price:
  1. Then create a parameter for the minimum price:
  1. Then a calculated field is required to use this on the chart:


Best Practices and Tips:

  1. Label everything: make sure to use clear labels and titles for the filters and parameters to ensure ease for the user.
  2. Hide redundancy: If a parameter and a filter are doing the same thing, hide one of them.
  3. Performance: Use filters for simple data reduction, as they are often more performant than parameters.
Author:
Ash Aravindhan
Powered by The Information Lab
1st Floor, 25 Watling Street, London, EC4M 9BR
Subscribe
to our Newsletter
Get the lastest news about The Data School and application tips
Subscribe now
© 2025 The Information Lab