O'Reilly logo

Tableau Cookbook – Recipes for Data Visualization by Shweta Sankhe-Savale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and using context filters

By default, each and every filter in Tableau will access all the records in our data source without taking into consideration the other filters. It means that these filters are computed independently of each other. However, we may want to set one or more categorical filter as context filters for the view.

For example, we have a Filter/Set, which gives us the Top five customers by Sales. Now this Set gives us the Top 5 customers from the entire data set. However, when we get another filter, let's say Region, then we expect Tableau to give us the Top five customers for the selected Region. But, because these filters are independent, Tableau still gives us the Top five customers from the entire data set and if it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required