Mastering Filters in Tableau: A Guide to the Different Types of Filters
If you want to become a Tableau expert, you need to master filters
Extract filters: Extract filters allow you to filter data in an extract instead of filtering the data source. When you create an extract filter, Tableau filters the data that is included in the extract, which can help improve the performance of your workbook.
To apply an Extract filter, first, create an extract of your data source. Then, right-click on the extract in the Data pane and select "Extract Filters". You can then select the field you want to filter on and set the filter criteria.
Data Source filters: These filters allow you to limit the data that is included in your Tableau workbook at the data source level. When you create a data source filter, Tableau retrieves only the data that meets the filter criteria from the data source. Data Source filters can improve the performance of your workbook by reducing the amount of data that needs to be loaded into memory.
Context Filters: Context filters allow you to filter data based on a specific context, such as a subset of your data that you want to analyze separately from the rest. To apply a context filter in Tableau, you can follow these steps:
Dimension Filters: Dimension filters allow you to filter data based on a specific dimension
For example, you might want to filter your sales data to show only the data for a specific region, like the Southeast. You can use a dimension filter to accomplish this.
Measure Filters: Measure filters allow you to filter data based on a specific measure, such as sales, profit, or quantity. To apply a measure filter in Tableau, you can follow these steps:
Recommended by LinkedIn
For example, you might want to filter your sales data to show only the data for sales that exceed a certain amount, like $1,000. You can use a measure filter to accomplish this.
Top and Bottom Filters: Top and bottom filters allow you to filter data based on the top or bottom values for a specific dimension or measure. To apply a top or bottom filter in Tableau, you can follow these steps:
For example, you might want to filter your sales data to show only the top 10 products by sales volume. You can use a top filter to accomplish this.
Relative Date Filters: Relative date filters allow you to filter data based on a relative date range, such as the last 7 days, last month, or last quarter. To apply a relative date filter in Tableau, you can follow these steps:
For example, you might want to filter your sales data to show only the data from the last quarter. You can use a relative date filter to accomplish this.
It's important to note that the order in which you apply filters is important, as it can impact the results you see in your data. In general, the order in which you should apply filters is:
By applying filters in this order, you ensure that the filters are applied in the most efficient way and that you are seeing the most accurate data in your visualization.
In conclusion, filters are a powerful feature in Tableau that allow you to focus on the most relevant information in your data. By using the different types of filters available in Tableau, you can create custom views that provide insights into your data that might otherwise be hidden.