A Tableau view initially contains Region and Product Category. An analyst uses this calculation to display a regional comparison total:
{EXCLUDE [Product Category] : SUM([Sales])}
The analyst then adds Sales Channel to Detail, creating separate marks for each region-category-channel combination. No filters change. What grain does the EXCLUDE calculation now use?
Region alone, with Product Category and Sales Channel removed.
Region and Sales Channel, with Product Category removed.
Region and Product Category, with Sales Channel removed.
Region, Product Category, and Sales Channel, with none removed.
Unlock full course notes by signing up
Distinct customers across overlapping channels
A retailer has the following complete transaction table in Tableau. Each row is a separate purchase, all customer identifiers are non-null, and no filters apply. A distinct count counts each different identifier once within the relevant group.
The channel calculation is { FIXED [Channel] : COUNTD([Customer ID]) }.
The overall calculation is the table-scoped expression { COUNTD([Customer ID]) }.
Preserving the intended denominator
A Tableau dashboard displays sales by Region and Product Category. Its percentage calculation is:
Each mark belongs to exactly one region. Calendar Year and Product Category are currently ordinary dimension filters. There are no other filters. The manager wants percentages for a selected year, with each region's denominator including every product category in that year even when only selected categories are displayed. Which filter arrangement meets both requirements?
Repairing a customer metric across sales channels
A business sells through Online and Store channels. Its Tableau data contains one row per order line, and a customer may purchase through both channels and in several product categories. There are no filters, missing customer IDs, or duplicated order lines.
A view contains Sales Channel as its only dimension. The analyst wants average total spending per customer within each channel, counting each purchasing customer once within that channel. The analyst instead creates the following field and displays it as Average:
Explain why its calculation grain does not match the requested measure. Write a suitable INCLUDE expression and specify its display aggregation. Finally, explain whether that replacement still measures average total spending per customer for an entire channel if Product Category is added to Detail.
First-purchase dates with tied orders
An online retailer uses Tableau to count customers whose first-ever purchase occurred in 2026. The table contains the complete purchase history of these four customers. Every order identifier is unique, dates have day precision, and no values are missing. Customer B placed two separate orders on the same day.
The analyst defines two fields:
First Purchase: { FIXED [Customer ID] : MIN([Order Date]) }