![]() |
VOOZH | about |
Context Filters in Tableau allow us to create dependent filters by establishing a hierarchy between them. Essentially, a context filter sets the context for other filters, meaning all other filters are applied relative to the data defined by the context filter. This is useful when we want to improve performance or create more precise filtering logic in complex dashboards.
Context Filters are particularly useful because they:
To apply a content filter in Tableau:
The filter card will turn gray, indicating it is now a context filter.
Note: Any other filters applied afterward will now operate relative to the context filter.
To show how we can implement a content filter in tableau, let us see an example.
Apply a filter for Region and set it as a context filter.
๐ ImageApply a filter for Product Category. Only products within the selected regions will be displayed because the Region filter sets the context.
๐ ImageTo remove a context filter: