Bird
Raised Fist0
Tableaubi_tool~15 mins

Measure filters in Tableau - Real Business Scenario

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants to see only the products that have generated sales above $10,000 in the last quarter. They want a clear view of these top-performing products to focus marketing efforts.
📊 Data: You have sales data including Product Name, Sales Amount, and Sale Date for the last year.
🎯 Deliverable: Create a Tableau dashboard that shows a bar chart of products with sales greater than $10,000 in the last quarter.
Progress0 / 5 steps
Sample Data
Product NameSales AmountSale Date
Alpha120002024-03-15
Beta80002024-03-20
Gamma150002024-03-05
Delta50002024-04-10
Epsilon200002024-03-25
Zeta70002024-02-28
Eta110002024-03-30
Theta90002024-04-20
1
Step 1: Connect Tableau to the sales data source containing Product Name, Sales Amount, and Sale Date.
No formula needed; just connect the data.
Expected Result
Data source is loaded and visible in Tableau.
2
Step 2: Create a calculated field to filter sales in the last quarter (Jan-Mar 2024).
Create calculated field named 'Last Quarter Sales' with formula: IF DATEPART('quarter', [Sale Date]) = 1 AND DATEPART('year', [Sale Date]) = 2024 THEN [Sales Amount] ELSE 0 END
Expected Result
Calculated field 'Last Quarter Sales' correctly marks sales from Q1 2024.
3
Step 3: Create a filter to include only products with total sales greater than $10,000 in the last quarter.
Drag 'Product Name' to Rows. Drag 'Last Quarter Sales' to Columns. Right-click 'Product Name' and select 'Filter'. In the filter dialog, choose 'By Field', select 'Last Quarter Sales', aggregation 'Sum', and set condition 'Sum > 10000'.
Expected Result
Only products with total sales above $10,000 in Q1 2024 are shown.
4
Step 4: Build a bar chart showing the sum of sales for each filtered product.
Use 'Product Name' on Rows and SUM([Last Quarter Sales]) on Columns. Ensure the filter from step 3 is applied.
Expected Result
Bar chart displays only products with sales above $10,000 in the last quarter.
5
Step 5: Add a title and format the dashboard for clarity and accessibility.
Add dashboard title: 'Top Products by Sales in Q1 2024'. Use clear fonts and colors with good contrast. Add axis labels and tooltips.
Expected Result
Dashboard is clear, accessible, and ready to share.
Final Result
Dashboard: Top Products by Sales in Q1 2024

Product Name | Sales Amount
----------------------------
Epsilon      | ██████████████████ 20000
Gamma        | █████████████ 15000
Alpha        | ████████████ 12000
Eta          | ██████████ 11000

(Note: Only products with sales > $10,000 shown)
✓Epsilon is the top-selling product with $20,000 in sales.
✓Gamma, Alpha, and Eta also have strong sales above $10,000.
✓Products Beta, Delta, Zeta, and Theta have sales below $10,000 and are excluded.
Bonus Challenge

Modify the dashboard to allow the user to select any quarter dynamically and see products with sales above $10,000 for that quarter.

Show Hint
Create a parameter for quarter selection and update the calculated field to use this parameter instead of a fixed quarter.

Practice

(1/5)
1. What is the main purpose of a measure filter in Tableau?
easy
A. To filter data based on numeric values in measures
B. To change the color of a chart
C. To add labels to dimensions
D. To create new calculated fields

Solution

  1. Step 1: Understand what measure filters do

    Measure filters focus on numeric data, allowing you to filter based on values like sales or profit.
  2. Step 2: Compare with other options

    Changing colors, adding labels, or creating fields are different Tableau features unrelated to filtering measures.
  3. Final Answer:

    To filter data based on numeric values in measures -> Option A
  4. Quick Check:

    Measure filters = numeric value filtering [OK]
Hint: Measure filters always work on numbers, not text [OK]
Common Mistakes:
  • Confusing measure filters with dimension filters
  • Thinking measure filters change visuals only
  • Believing measure filters create new data
2. Which of the following is the correct way to apply a measure filter in Tableau?
easy
A. Drag a dimension to the Filters shelf
B. Right-click a worksheet and select 'Add Filter'
C. Double-click a measure in the Data pane
D. Drag a measure to the Filters shelf

Solution

  1. Step 1: Identify how to apply measure filters

    Measure filters are applied by dragging a measure (numeric field) to the Filters shelf.
  2. Step 2: Eliminate incorrect options

    Dragging a dimension filters categories, not measures; right-clicking worksheet doesn't add filters; double-clicking measure adds it to view, not filter.
  3. Final Answer:

    Drag a measure to the Filters shelf -> Option D
  4. Quick Check:

    Measure filter = drag measure to Filters [OK]
Hint: Only measures go to Filters shelf for measure filtering [OK]
Common Mistakes:
  • Dragging dimensions instead of measures to Filters
  • Trying to add filters from worksheet menu
  • Double-clicking measures expecting filter dialog
3. Given a sales measure filter set to show only sales greater than 1000, what will happen to a product with sales of 900?
medium
A. It will be excluded from the view
B. It will cause an error
C. It will show as zero sales
D. It will be included in the view

Solution

  1. Step 1: Understand the filter condition

    The filter shows only sales > 1000, so any sales less or equal to 1000 are excluded.
  2. Step 2: Apply condition to product sales

    Product with sales 900 is less than 1000, so it will be excluded from the view.
  3. Final Answer:

    It will be excluded from the view -> Option A
  4. Quick Check:

    Sales 900 < 1000 -> excluded [OK]
Hint: Filters exclude data not meeting condition, no errors [OK]
Common Mistakes:
  • Thinking filtered-out data shows as zero
  • Assuming filter includes all data
  • Expecting error on excluded data
4. You applied a measure filter on Profit > 0 but still see negative profit values in your view. What is the likely cause?
medium
A. The filter condition was set incorrectly as Profit < 0
B. The filter was applied on a dimension instead of the Profit measure
C. The data source has errors causing wrong values
D. The filter is applied after aggregation, so negative values remain

Solution

  1. Step 1: Check filter application

    If the filter was applied on a dimension, it won't filter numeric Profit values correctly.
  2. Step 2: Understand why negative profits appear

    Applying filter on dimension does not remove negative profits; measure filter on Profit is needed.
  3. Final Answer:

    The filter was applied on a dimension instead of the Profit measure -> Option B
  4. Quick Check:

    Filter on dimension ≠ filter on measure [OK]
Hint: Always apply measure filters on measures, not dimensions [OK]
Common Mistakes:
  • Applying measure filter on dimension field
  • Setting wrong filter condition
  • Assuming data source errors cause filter issues
5. You want to create a dashboard showing only customers with total sales above 5000. Which approach using measure filters is best?
hard
A. Apply a measure filter on individual sales transactions > 5000
B. Use a dimension filter on customer names containing '5'
C. Create a calculated field for total sales per customer and filter > 5000
D. Filter the data source to exclude sales below 5000

Solution

  1. Step 1: Understand the requirement

    We want customers with total sales above 5000, so aggregation per customer is needed.
  2. Step 2: Choose correct filtering method

    Applying filter on individual transactions won't sum sales; dimension filter on names is unrelated; filtering data source excludes data prematurely.
  3. Step 3: Use calculated field and filter

    Create a calculated field summing sales per customer, then apply measure filter > 5000 to show only those customers.
  4. Final Answer:

    Create a calculated field for total sales per customer and filter > 5000 -> Option C
  5. Quick Check:

    Aggregate then filter for totals [OK]
Hint: Aggregate measure per group before filtering totals [OK]
Common Mistakes:
  • Filtering individual transactions instead of totals
  • Using dimension filters unrelated to sales
  • Filtering data source instead of view
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