Bird
Raised Fist0
Tableaubi_tool~20 mins

Sets for dynamic grouping in Tableau - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Dynamic Sets Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Dynamic Sets in Tableau

Which statement best describes a dynamic set in Tableau?

AA set created manually that never changes unless edited by the user.
BA set that is created using calculated fields but does not respond to filters.
CA set that only includes data from a fixed date range.
DA set that updates automatically based on data changes or user interaction.
Attempts:
2 left
💡 Hint

Think about how sets can respond to filters or data updates.

❓ dax_lod_result
intermediate
1:30remaining
Result of a Dynamic Set Expression

Given a Tableau dynamic set defined to include customers with sales over $10,000, what will happen if a filter reduces sales data to only $8,000 per customer?

AThe set will update to exclude all customers because none meet the $10,000 threshold in the filtered data.
BThe set will keep the original customers regardless of the filter.
CThe set will show an error because the threshold is not met.
DThe set will include all customers since the filter lowers sales.
Attempts:
2 left
💡 Hint

Remember that dynamic sets respond to filters and data changes.

❓ visualization
advanced
2:00remaining
Best Visualization for Dynamic Grouping by Sets

You want to show sales performance grouped dynamically by a set of top 10 products that changes based on user selection. Which visualization type is best suited for this?

AA pie chart showing sales distribution for all products regardless of the set.
BA bar chart with the dynamic set applied as a filter to show only top 10 products.
CA scatter plot showing all products without filtering by the set.
DA line chart showing sales over time without grouping by the set.
Attempts:
2 left
💡 Hint

Consider which chart clearly shows grouped categories and updates dynamically.

❓ data_modeling
advanced
2:00remaining
Creating a Dynamic Set for Customer Segmentation

Which approach correctly creates a dynamic set in Tableau to segment customers who made purchases in the last 30 days?

ACreate a set based on a calculated field that checks if the purchase date is within the last 30 days, so the set updates as time passes.
BManually select customers in the data pane and save as a fixed set.
CCreate a group of customers and apply a static filter for the last 30 days.
DUse a parameter to select customers but do not link it to purchase dates.
Attempts:
2 left
💡 Hint

Think about how to make the set update automatically with time.

🔧 Formula Fix
expert
2:30remaining
Debugging a Dynamic Set Not Updating

A dynamic set in Tableau is supposed to update based on a sales threshold but remains static after applying filters. What is the most likely cause?

AThe workbook is in read-only mode preventing updates.
BThe data source connection is broken, causing the set to freeze.
CThe set was created as a fixed set, not dynamic, so it does not respond to filters.
DThe filters are applied after the set calculation, so the set ignores them.
Attempts:
2 left
💡 Hint

Consider how sets respond to filters and how they are created.

Practice

(1/5)
1. What is the main purpose of using Sets in Tableau for dynamic grouping?
easy
A. To group data dynamically based on conditions or manual selection
B. To create static charts without interaction
C. To write SQL queries inside Tableau
D. To export data to Excel automatically

Solution

  1. Step 1: Understand the role of Sets in Tableau

    Sets allow grouping data dynamically, either by user selection or by conditions.
  2. Step 2: Compare with other options

    Options B, C, and D describe unrelated features not related to Sets.
  3. Final Answer:

    To group data dynamically based on conditions or manual selection -> Option A
  4. Quick Check:

    Sets = Dynamic grouping [OK]
Hint: Sets group data dynamically, not static or export tasks [OK]
Common Mistakes:
  • Confusing Sets with filters
  • Thinking Sets export data
  • Assuming Sets create static charts
2. Which of the following is the correct way to create a Set based on a condition in Tableau?
easy
A. Drag measure to Rows shelf and select Create Set
B. Right-click a dimension > Create > Set > Use condition tab to define criteria
C. Use Data > Export > Create Set
D. Write a calculated field with IF statements and save as Set

Solution

  1. Step 1: Recall how to create Sets by condition

    In Tableau, right-click a dimension, choose Create > Set, then use the Condition tab to set criteria.
  2. Step 2: Eliminate incorrect options

    Dragging measures or exporting data does not create Sets; calculated fields are different from Sets.
  3. Final Answer:

    Right-click a dimension > Create > Set > Use condition tab to define criteria -> Option B
  4. Quick Check:

    Create Set via dimension context menu [OK]
Hint: Sets come from dimensions, not measures or exports [OK]
Common Mistakes:
  • Trying to create Sets from measures
  • Confusing calculated fields with Sets
  • Looking for Sets in export menus
3. Given a Set named Top Customers created by condition on Sales > 10000, what will be the result when you drag this Set to Color on a bar chart of Customers?
medium
A. Bars for customers with sales over 10000 will be colored differently
B. All bars will have the same color
C. Only customers with sales under 10000 will be shown
D. The chart will show an error about invalid Set

Solution

  1. Step 1: Understand how Sets affect visualization

    Dragging a Set to Color colors members inside the Set differently from those outside.
  2. Step 2: Apply to the given condition

    Since the Set includes customers with sales > 10000, those bars get a distinct color.
  3. Final Answer:

    Bars for customers with sales over 10000 will be colored differently -> Option A
  4. Quick Check:

    Set on Color = highlights group [OK]
Hint: Set on Color splits members inside/outside group visually [OK]
Common Mistakes:
  • Expecting only Set members to show
  • Thinking all bars get same color
  • Assuming error occurs with valid Sets
4. You created a Set but it does not update when your data changes. What is the most likely cause?
medium
A. Sets never update automatically in Tableau
B. You forgot to refresh the data source
C. You used a measure instead of a dimension to create the Set
D. The Set was created as a fixed Set, not dynamic

Solution

  1. Step 1: Understand Set types in Tableau

    Sets can be fixed (static) or dynamic (condition-based). Fixed Sets do not update with data changes.
  2. Step 2: Identify the cause of no update

    If the Set was created as fixed, it won't reflect new data until manually updated.
  3. Final Answer:

    The Set was created as a fixed Set, not dynamic -> Option D
  4. Quick Check:

    Fixed Sets = no auto update [OK]
Hint: Fixed Sets don't auto-update; use condition Sets for dynamic [OK]
Common Mistakes:
  • Assuming all Sets auto-update
  • Blaming data refresh instead of Set type
  • Trying to create Sets from measures
5. You want to create a dynamic group of products that are either in the Top 10 Sales Set or manually selected by the user. Which Tableau feature allows combining these two Sets for analysis?
hard
A. Create a Calculated Field with IF statements for both Sets
B. Use a Filter to select products from both Sets separately
C. Create a Combined Set using the Union option
D. Create a Parameter to switch between Sets

Solution

  1. Step 1: Understand combining Sets in Tableau

    Tableau allows combining Sets using Union, Intersection, or Exclusion to create a Combined Set.
  2. Step 2: Apply to the scenario

    To include products in either Set, use Union to combine Top 10 Sales and manual selection Sets.
  3. Step 3: Eliminate other options

    Calculated fields or filters do not combine Sets dynamically; parameters switch but don't combine.
  4. Final Answer:

    Create a Combined Set using the Union option -> Option C
  5. Quick Check:

    Combined Set with Union merges groups [OK]
Hint: Use Combined Set with Union to merge dynamic and manual groups [OK]
Common Mistakes:
  • Trying to combine Sets with calculated fields
  • Using filters instead of Combined Sets
  • Confusing parameters with Set combination
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