Bird
Raised Fist0
Tableaubi_tool~10 mins

Dimension filters in Tableau - Cell-by-Cell Formula Trace

Choose your learning style10 modes available
Sample Data

Sales data by region showing total sales amounts.

CellValue
A1Region
B1Sales
A2North
B21000
A3South
B31500
A4East
B41200
A5West
B51300
Formula Trace
SUM(IF [Region] = 'North' THEN [Sales] ELSE 0 END)
Step 1: Check each row if Region = 'North'
Step 2: For each row, if True take Sales else 0
Step 3: Sum all values from step 2
Cell Reference Map
    A       B
1 |Region | Sales |
2 | North | 1000  |
3 | South | 1500  |
4 | East  | 1200  |
5 | West  | 1300  |

Filter applied on column A (Region) to select 'North' only.
The filter uses the Region column to select only rows where Region equals 'North'.
Result
    A       B
1 |Region | Sales |
2 | North | 1000  |

Total Sales after filter: 1000
After applying the dimension filter for 'North', only that row remains and the sum of Sales is 1000.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the filter condition [Region] = 'North' do?
ASelects all rows except North
BSelects only rows where Region is North
CChanges all Regions to North
DSums all sales regardless of Region
Key Result
Dimension filters select rows matching a condition and aggregate values only from those rows.

Practice

(1/5)
1. What is the main purpose of a dimension filter in Tableau?
easy
A. To select specific categories or groups of data to include in the view
B. To change the color of the chart
C. To calculate sums and averages
D. To add new data sources

Solution

  1. Step 1: Understand what dimension filters do

    Dimension filters let you pick which categories or groups of data to show or hide in your report.
  2. Step 2: Compare options to the purpose

    Only To select specific categories or groups of data to include in the view describes selecting categories, which matches the purpose of dimension filters.
  3. Final Answer:

    To select specific categories or groups of data to include in the view -> Option A
  4. Quick Check:

    Dimension filter = select categories [OK]
Hint: Dimension filters pick categories to show or hide [OK]
Common Mistakes:
  • Confusing dimension filters with color formatting
  • Thinking filters calculate values
  • Mixing up filters with data source connections
2. Which of the following is the correct way to add a dimension filter in Tableau?
easy
A. Drag a measure to the Filters shelf
B. Right-click a measure and select 'Add to Filters'
C. Drag a dimension to the Filters shelf
D. Double-click a dimension to add it to the Columns shelf

Solution

  1. Step 1: Identify how to add dimension filters

    Dimension filters are added by dragging a dimension field to the Filters shelf in Tableau.
  2. Step 2: Evaluate each option

    Drag a dimension to the Filters shelf correctly states dragging a dimension to the Filters shelf. Drag a measure to the Filters shelf is for measures, not dimensions. Right-click a measure and select 'Add to Filters' is incorrect because measures cannot be added that way as filters. Double-click a dimension to add it to the Columns shelf adds to Columns, not Filters.
  3. Final Answer:

    Drag a dimension to the Filters shelf -> Option C
  4. Quick Check:

    Dimension filter = drag dimension to Filters shelf [OK]
Hint: Drag dimension fields to Filters shelf to filter categories [OK]
Common Mistakes:
  • Dragging measures instead of dimensions
  • Adding fields to Columns instead of Filters
  • Right-clicking measures expecting filter options
3. If you add a dimension filter on the 'Region' field and select only 'East' and 'West', what will the view show?
medium
A. No data will be shown
B. Data for all regions except 'East' and 'West'
C. Data for 'East', 'West', and 'Central' regions
D. Data only for 'East' and 'West' regions

Solution

  1. Step 1: Understand filter selection effect

    Selecting 'East' and 'West' in a dimension filter means only those categories are included in the view.
  2. Step 2: Analyze options

    Data only for 'East' and 'West' regions correctly states only 'East' and 'West' data will show. Data for all regions except 'East' and 'West' is the opposite. Data for 'East', 'West', and 'Central' regions adds 'Central' incorrectly. No data will be shown is wrong because data exists for selected regions.
  3. Final Answer:

    Data only for 'East' and 'West' regions -> Option D
  4. Quick Check:

    Filter selects categories to show = 'East' and 'West' only [OK]
Hint: Filter shows only selected categories, hides others [OK]
Common Mistakes:
  • Thinking filter excludes selected categories
  • Assuming unselected categories still appear
  • Believing filter clears all data
4. You added a dimension filter on 'Category' but the filter does not seem to affect the view. What is the most likely reason?
medium
A. The filter is applied on a measure, not a dimension
B. The filter is set to include all categories
C. The data source is disconnected
D. The filter is applied on a hidden worksheet

Solution

  1. Step 1: Identify why a filter might not change the view

    If a filter includes all possible categories, it does not remove any data, so the view stays the same.
  2. Step 2: Evaluate each option

    The filter is set to include all categories correctly explains the filter includes all categories, so no change. The filter is applied on a measure, not a dimension is incorrect because the question says dimension filter was added. The data source is disconnected would cause errors, not no effect. The filter is applied on a hidden worksheet is unlikely to affect the current view.
  3. Final Answer:

    The filter is set to include all categories -> Option B
  4. Quick Check:

    Filter includes all categories = no effect [OK]
Hint: Check if filter includes all categories to see effect [OK]
Common Mistakes:
  • Assuming filter always changes view
  • Ignoring filter settings include all values
  • Confusing data source issues with filter behavior
5. You want to create a dashboard showing sales only for selected product categories and regions. Which approach correctly uses dimension filters to achieve this?
hard
A. Add separate dimension filters for 'Category' and 'Region' on the dashboard and select desired values
B. Add a measure filter on sales amount and ignore categories and regions
C. Use only one dimension filter on 'Category' and leave 'Region' unfiltered
D. Create a calculated field combining 'Category' and 'Region' and filter on that

Solution

  1. Step 1: Understand filtering multiple dimensions

    To filter by both product category and region, you need filters on both dimensions separately.
  2. Step 2: Evaluate options for filtering both dimensions

    Add separate dimension filters for 'Category' and 'Region' on the dashboard and select desired values correctly adds separate filters for 'Category' and 'Region'. Add a measure filter on sales amount and ignore categories and regions filters only sales amount, not categories or regions. Use only one dimension filter on 'Category' and leave 'Region' unfiltered filters only one dimension, missing the other. Create a calculated field combining 'Category' and 'Region' and filter on that is complex and unnecessary for this task.
  3. Final Answer:

    Add separate dimension filters for 'Category' and 'Region' on the dashboard and select desired values -> Option A
  4. Quick Check:

    Filter each dimension separately for combined filtering [OK]
Hint: Use separate filters for each dimension to combine selections [OK]
Common Mistakes:
  • Filtering only one dimension when multiple needed
  • Using measure filters instead of dimension filters
  • Overcomplicating with calculated fields unnecessarily
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard