0
0
Tableaubi_tool~10 mins

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

Choose your learning style9 modes available
Sample Data

Sales data by region showing sales amounts for different regions.

CellValue
A1Region
B1Sales
A2East
B2100
A3West
B3200
A4East
B4150
A5West
B5300
A6North
B6250
Formula Trace
SUM(Sales) with Context Filter Region='East'
Step 1: Apply context filter Region='East' to data
Step 2: Sum Sales values in filtered rows (100 + 150)
Cell Reference Map
    A       B
1 |Region | Sales
2 | East  | 100  <--- Included by context filter
3 | West  | 200
4 | East  | 150  <--- Included by context filter
5 | West  | 300
6 | North | 250
Context filter uses Region column to include only rows with 'East'. Sales column values from those rows are summed.
Result
    A       B
1 |Region | Sales
2 | East  | 100
4 | East  | 150

Result: Total Sales = 250
After applying the context filter for Region='East', only rows 2 and 4 remain. Their sales values sum to 250.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the context filter do in this example?
AIt filters sales greater than 200
BIt limits data to only rows where Region is East
CIt sums all sales regardless of region
DIt excludes East region rows
Key Result
Context filters first limit data rows, then aggregations like SUM operate only on filtered data.