KNOWLEDGE BASE

Excluding Values from a Filter


Published: 22 Mar 2013
Last modified date: 10 Sep 2023

Question

How to limit the values available in a filter.

Environment

Tableau Desktop

Answer

The attached example workbook uses the sample data set Superstore to demonstrate creating a filter for [Product Container] that only has 3 container options.
 
CLICK TO EXPAND SOLUTION

Option 1: Use a Set as a Filter

 
CLICK TO EXPAND SOLUTION

Option 2: Exclusion Filter Using Only Relevant Values 

 
CLICK TO EXPAND SOLUTION

Option 3: Use a Parameter as a Filter (can be used with blended data)

 
CLICK TO EXPAND SOLUTION

Option 4: Use a Set Action

Additional information

Options 1 and 2 will also filter data out of the view.

Options 3 and 4 may or may not filter data out of the view depending on how the filter calculation is written.

Option 3 will also work if the filter comes from a secondary data source. Please note, only one value can be selected in a parameter at a time.

To view options 1 and 2 in action, see the video below: 



To voice your support for the inclusion of this enhancement in a future product release, add your vote to the following Community Ideas:
Hide quick filter to retain associated information
Hide legends while retaining their data

 
Did this article resolve the issue?