What this quiz covers
This quiz focuses on Filters And Aggregation Interaction, giving you a quick way to practice the rules, question types, and explanations that matter most for Tableau.
A Product filter is configured to show the top two products by SUM([Sales]). Across all regions, total sales rank as Alpha 1000, Beta 900, Gamma 800, and Delta 700. Within East, their sales are Alpha 100, Beta 800, Gamma 700, and Delta 650. Region is then filtered to East using a standard dimension filter; it is not added to context.
Which products and values will the worksheet display?
Tableau Quiz
Practice Filters And Aggregation Interaction in Tableau with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
This quiz focuses on Filters And Aggregation Interaction, giving you a quick way to practice the rules, question types, and explanations that matter most for Tableau.
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
A Product filter is configured to show the top two products by SUM([Sales]). Across all regions, total sales rank as Alpha 1000, Beta 900, Gamma 800, and Delta 700. Within East, their sales are Alpha 100, Beta 800, Gamma 700, and Delta 650. Region is then filtered to East using a standard dimension filter; it is not added to context.
Which products and values will the worksheet display?
SUM([Sales]) across all data, not just East. At that stage, Alpha (1000) and Beta (900) rank highest globally and are locked into the view as the top-two set. Only after that selection does the Region filter narrow the data to East. The result: Alpha and Beta remain in the view, but their displayed values reflect only their East sales — 100 and 800 respectively. That makes A correct.
Choice B is tempting but wrong — it assumes the Top N filter recalculates within East, which would only happen if Region were added to context first, promoting it above the Top N filter in execution order. Choice C confuses how filters work: the Region filter absolutely affects aggregated values (Alpha drops from 1000 to 100), it just doesn't re-rank which products qualify. Choice D invents a behavior where products are re-evaluated after both filters run — Tableau doesn't retroactively swap out set members based on post-filter rankings.
Study tip: Anytime a question involves Top N filters plus a dimension filter, ask yourself: Is that dimension in context? If not, the Top N always evaluates globally first, and you'll see unexpected products paired with surprisingly low values.A worksheet has one mark per Customer and uses the aggregate calculation ATTR([Segment]). Customer A has two Consumer records. Customer B has one Consumer record and one Corporate record. Customer C has two Corporate records. A calculated filter keeps marks where ATTR([Segment]) = "Consumer".
Which customers remain after the filter is applied?
ATTR selects the last Segment value encountered.ATTR() in Tableau, think of it as a strict unanimity check. ATTR([Segment]) evaluates all the underlying row-level values for a given mark and returns the value only if every single row agrees. If there's any disagreement, it returns an asterisk (*). This is the key concept being tested here.
With that framework, walk through each customer. Customer A has two Consumer records — unanimous, so ATTR([Segment]) returns "Consumer". Customer B has one Consumer and one Corporate record — disagreement, so it returns *. Customer C has two Corporate records — unanimous, so it returns "Corporate". The filter ATTR([Segment]) = "Consumer" then keeps only marks where the result is exactly "Consumer". That's Customer A alone, making C the correct answer.
Answer A is wrong because it misidentifies Customer B as the one that "remains" — in reality, mixed values cause ATTR to return *, which fails the filter, so Customer B is excluded, not kept. Answer B is wrong because it assumes ATTR behaves like a CONTAINS or OR check — it doesn't. Having at least one Consumer record is not enough; all records must match. Answer D is entirely fabricated — ATTR has no concept of "last value encountered." It is not a sequential or row-order function.
A useful memory device: think of ATTR as "all-or-nothing." If all rows say the same thing, you get that value. If even one row disagrees, you get *. Whenever you see ATTR in a filter question, immediately ask yourself whether every row under that mark is unanimous.A worksheet initially has one mark per Category and uses a filter requiring SUM([Sales]) >= 500. Furniture contains Chairs sales of 300 and Tables sales of 250. Technology contains Phones sales of 450 and Accessories sales of 100. At the Category level, both categories pass the filter. Sub-Category is then added to the view while the filter remains unchanged.
What happens after Sub-Category is added?
SUM([Sales]) >= 500 exists in Tableau, the level of detail at which that aggregation is computed depends entirely on the granularity of the current view. This is the core concept being tested: filters evaluate at the mark level, meaning the aggregation recalculates based on whatever dimensions are currently in the view.
When only Category is in the view, each mark represents one Category. Furniture's SUM([Sales]) = 300+250=550, and Technology's = 450+100=550. Both pass the ≥500 threshold. So far, so good. But once you add Sub-Category, the view now has one mark per Sub-Category within each Category. The filter re-evaluates at this finer grain: Chairs = 300, Tables = 250, Phones = 450, Accessories = 100. Every single one falls below 500, so no marks survive the filter — confirming that C is correct.
Choice A is the trap most students fall into. It assumes Tableau still uses the Category-level totals after Sub-Category is added, but the view's granularity has changed, so it doesn't. Choice B incorrectly assumes Tableau ranks or compares Sub-Categories against each other rather than applying the threshold filter independently to each mark. Choice D misunderstands the filter entirely — it treats the filter as a "top member" selector rather than an aggregate threshold.
The key strategy to remember: whenever a question involves filters and changing dimensions, always ask yourself "at what granularity is this aggregate being computed right now?" The answer changes as the view changes.A worksheet displays SUM([Sales]) by Region. The underlying records are: East—Furniture sales of 200 and Technology sales of 300; West—Furniture sales of 500 and two Technology sales records of 200 and 250. A user first filters Category to Technology and then applies a measure filter requiring SUM([Sales]) >= 350.
Which marks remain in the worksheet after both filters are applied?
SUM([Sales]) >= 350 is applied to those aggregated values. East's 300 fails the threshold and is removed; West's 450 passes. Only West survives, displaying 450 — confirming B is correct.
Answer A is wrong because East's Technology total is only 300, which fails the >= 350 measure filter. Answer C is wrong on two counts: neither region shows 500, and including East would require it to pass the measure filter, which it doesn't. Answer D is a common trap — it imagines the dimension filter never applied, as if you'd see the original unfiltered regional totals. That misunderstands how filter order works entirely.
Your study tip: memorize Tableau's filter order — Extract → Data Source → Context → Dimension → Measure → Table Calc. Exam questions frequently test whether you know that dimension filters reshape the data before measure filters evaluate aggregations.A worksheet displays Customer and the calculation { FIXED [Customer] : SUM([Sales]) }. Customer X has East sales of 100 and West sales of 300. Customer Y has East sales of 200 and no West sales. Region is filtered to East with a standard dimension filter, not a context filter.
What values appear for the customers that remain visible?
{ FIXED [Customer] : SUM([Sales]) } sums all sales per customer across every region — East, West, or otherwise — before the Region filter ever runs. The filter then removes rows from the view, but the FIXED value is already baked in.
For Customer X: 100+300=400. For Customer Y: 200+0=200. The Region = East filter hides the West row for Customer X from the view, but since FIXED already computed 400, that's what appears. Customer Y has only East data, so they remain visible with 200. This confirms B is correct.
A is wrong because it reflects what you'd see if the calculation were a regular SUM([Sales]) aggregation — that would respect the filter and show only East sales (100 for X, 200 for Y). The trap here is confusing FIXED with a normal aggregate. C is wrong on both counts: Customer X's FIXED value is 400, not 300, and Customer Y isn't removed — they have East sales, so they remain visible. D is wrong because Customer Y has no West sales, so there's nothing extra to add; 200 is the correct FIXED value, not 300.
Your study tip: memorize the filter order of operations — Context → FIXED → Standard Dimension Filters → INCLUDE/EXCLUDE → Table Calcs. FIXED sitting above standard filters is one of Tableau's most tested concepts.A worksheet has one mark per Customer and displays SUM([Sales]). Customer A has sales records of 300 and 250; Customer B has one sales record of 450; Customer C has sales records of 200 and 400. A filter keeps marks where SUM([Sales]) >= 500.
Which statement correctly describes the filtered worksheet?
SUM([Sales]) — evaluates the aggregation after all underlying records have been rolled up for each mark.
Here, each mark represents one customer, so SUM([Sales]) is computed per customer before the filter is checked. Customer A totals 300+250=550, Customer B totals 450, and Customer C totals 200+400=600. The filter SUM([Sales]) >= 500 then compares each customer's already-aggregated total against the threshold. Customers A (550) and C (600) pass; Customer B (450) does not. Crucially, all of each qualifying customer's underlying records contributed to that aggregate — none were excluded individually. This makes A correct.
B describes a row-level filter behavior, where only records individually meeting ≥500 would count. That's not how aggregate measure filters work — the filter never touches individual rows.
C assumes the filter evaluates each sales record separately, which would mean Customer A's records of 300 and 250 never reach 500 alone. Again, this confuses row-level filtering with aggregate filtering.
D conflates the filter threshold with a grand total across all customers, which is not how Tableau applies per-mark filters.
A useful rule of thumb: if the filter expression contains an aggregate function (like SUM, AVG, or COUNT), it operates on the mark-level aggregate, not on individual data rows.A worksheet contains Region and Category and displays { EXCLUDE [Category] : SUM([Sales]) }. East has Furniture sales of 100 and Technology sales of 300. West has Furniture sales of 200 and Technology sales of 400. Category is filtered to Furniture with a standard dimension filter.
Which values does the EXCLUDE calculation display after filtering?
EXCLUDE ignores the standard dimension filter and aggregates all records at the Region level.EXCLUDE surfaces each category's contribution separately.EXCLUDE retains only the filtered-out category's values.EXCLUDE aggregates the remaining records at the Region level. (correct answer)EXCLUDE LOD expressions are evaluated — meaning they restrict the underlying data first, and then the LOD calculation runs on whatever records remain.
Here's how that plays out in this scenario. The Category filter is set to Furniture, so Technology records are removed from the dataset entirely before any calculation occurs. With only Furniture records remaining, { EXCLUDE [Category] : SUM([Sales]) } drops Category from the view's level of detail and aggregates Sales at the Region level. East has only $100 in Furniture sales left, so it displays $100. West has only $200, so it displays $200. That confirms D is correct.
A is the most tempting trap — it assumes EXCLUDE can "see through" dimension filters the way it can ignore dimensions in the view. It cannot. EXCLUDE only removes view dimensions from its grouping scope; it does not override context filters or standard dimension filters, which have already trimmed the data upstream. B misunderstands what EXCLUDE does altogether — it doesn't surface per-category breakdowns; it collapses them. C invents a behavior where EXCLUDE somehow retrieves only the filtered-out records, which has no basis in how LOD expressions work.
A reliable study tip: memorize Tableau's order of operations. Standard dimension filters sit above LOD expressions, so they always restrict data before EXCLUDE, INCLUDE, or FIXED runs. If you need an LOD to override a filter, you must use a context filter or a FIXED expression instead.A worksheet displays COUNTD([Customer]) by Region. East contains Customer A in both Office Supplies and Technology, Customer B in Technology, and Customer C in Office Supplies. West contains Customer A in Office Supplies and Customer D in both Office Supplies and Technology. Category is filtered to Office Supplies.
What distinct-customer counts are displayed after the filter?
COUNTD() combined with a dimension filter in Tableau, the key question to ask is: after the filter is applied, which distinct values remain in each partition?
Here, the Category filter to Office Supplies removes any rows where Category = Technology. That means only Office Supplies transactions survive. Now evaluate each region independently:
COUNTD were counting something else entirely (like a single overlap value), which misunderstands how distinct counts work across separate regions.
Study tip: Always mentally "run the filter first, then aggregate." Filters eliminate rows before COUNTD evaluates them, so any customer who exists only in the filtered-out category disappears completely from the count — they don't contribute a partial value.A worksheet displays the calculated measure SUM([Profit]) / SUM([Sales]) by Region. East has Technology sales of 100 with profit of 20 and Furniture sales of 300 with profit of 30. West has Technology sales of 200 with profit of 10 and Furniture sales of 100 with profit of 20. Category is filtered to Technology.
What profit ratios are displayed after the filter?
SUM([Profit]) and SUM([Sales]) only accumulate values from the rows that survive the filter — Tableau doesn't pre-compute category-level ratios and then combine them.
With Category filtered to Technology only, East's calculation becomes 20/100=20%, and West's becomes 10/200=5%. That confirms D as the correct answer: Furniture records are excluded entirely, so only Technology profit and sales feed into each region's aggregation.
A is wrong because Tableau doesn't average pre-computed ratios across categories. Ratio measures like this are calculated on the aggregated totals, not as averages of sub-group ratios — a classic weighted vs. simple average trap.
B is partially right that only Technology is retained, but wrong about the outcome. East has 20/100=20% and West has 10/200=5% — these are not equal. The distractor tricks you into thinking both regions must share the same margin just because they share the same filtered category.
C describes a scenario where the filter doesn't work, as if both Furniture and Technology data remain in the totals. This would only be possible if Context Filters or table calculations were involved — not a standard dimension filter on a worksheet.
A useful rule of thumb: in Tableau, dimension filters act like a WHERE clause in SQL — they strip rows first, then aggregations run on what's left. Always trace the data flow in that order.A worksheet shows regional sales and a Percent of Total table calculation. Sales are East 50, West 30, and South 20. A table-calculation filter then retains marks whose calculated Percent of Total is at least 25%.
After the filter is applied, what percentages are displayed for the visible regions?