KNOWLEDGE BASE

Alternate Methods of Excluding a Specific Value


Published: 13 Jun 2013
Last Modified Date: 11 Aug 2017

Question

How to exclude a single value from a worksheet when an Exclude filter does not provide desired results.

Environment

Tableau Desktop

Answer

Option 1: Create a Set

  1. Right-click on the desired dimension and select Create Set.
  2. Name the set.
  3. Exclude the desired members.
  4. Click OK.
  5. Place the newly created set on the Filters shelf.
  6. Place the set on the Rows or Columns shelf, as desired.

Option 2: Create a Calculated Field

  1. Select Analysis > Create Calculated Field....
  2. Name the field as desired.
  3. Place the following formula into the formula window:
    IIF([measure]=0, 'Exclude', 'Include')
  4. Click OK.
  5. Place newly created calculated field on the Filters shelf.
  6. Select desired filter option, Exclude or Include.
Did this article resolve the issue?