Filtering is super useful in Tableau. We can organize and simplify our data with it and we like that.
There are 6 different type of filter options:
- Extract Filter
- Data Source Filter
- Context Filter
- Dimension Filter
- Measure Filter
- Table Calculation Filter
![](https://www.thedataschool.co.uk/content/images/2022/07/Picture1-6.png)
A measure filter (always green) can filter the data based on the values present in a measure. The aggregated measure values can be used in measure filter to modify the data.
When dragging it on, Tableau will ask you how you want to filter – in other words, what aggregation to use (Sum, Avg, Median, Standard Deviation, etc.)
![Graphical user interface, application
Description automatically generated](https://www.thedataschool.co.uk/content/images/2022/07/Picture2-4.png)
The second step will give you four options: Range of values, At least, At most and Special.
![Graphical user interface, application, Word
Description automatically generated](https://www.thedataschool.co.uk/content/images/2022/07/Picture4-3.png)
Range of Values: Maximum and minimum range of measure value can be given and filtered
At Least: A minimum value to a measure is given to filter the data
At Most: A maximum value to a measure is given to filter the data
Special: An option to select null or non-null values and filter the data
If we want to filter categorical data, we use dimension filters (always blue) or non-aggregated filters.
After dropping one of the dimensions and drop it into the filter mark the following window should pop-up:
![](https://www.thedataschool.co.uk/content/images/2022/07/Picture6-4.png)
· General: Use the General tab to select the values you want to include or exclude.
· Wildcard Use the Wildcard tab to define a pattern to filter on.
· Condition: Use the Condition tab in the Filter dialog box to define rules to filter by.
· Top: Use the Top tab in the Filter dialog box to define a formula that computes the data that will be included in the view.
Peter Hajnal DS | 33