5.1 Deep Dive: Tableau Order of Operations

Key Takeaways

  • The Tableau Order of Operations executes in a strict 10-stage hierarchy from Extract Filters down to Table Calculation Filters
  • Context Filters execute at Stage 3, creating a temporary subset table that pre-filters data before Top N, Sets, and FIXED LODs run at Stage 4
  • FIXED Level of Detail calculations run before standard Dimension Filters (Stage 5), while INCLUDE and EXCLUDE LOD calculations run after (Stage 6)
  • Table Calculation Filters execute at Stage 10, allowing developers to hide marks without altering underlying table calculation values
Last updated: July 2026

5.1 Deep Dive: Tableau Order of Operations

Understanding the Tableau Order of Operations—frequently referred to as the Tableau Data Pipeline—is one of the most heavily tested and fundamental technical domains on the Tableau Desktop Specialist examination. The Order of Operations dictates the exact order in which Tableau executes filters, calculates fields, evaluates level of detail (LOD) expressions, and renders visual elements on a worksheet.

When a user interacts with a viz—drag-and-dropping fields, applying filters, or building table calculations—Tableau does not execute all operations simultaneously. Instead, it processes data through a strict, top-to-bottom hierarchy. Failing to understand this order leads to unexpected calculation results, broken top-N rankings, and incorrect aggregations. Mastering this sequence ensures you can confidently troubleshoot complex visual queries and answer tricky exam scenarios.


The 10 Sequential Steps of the Pipeline

Tableau processes queries through ten distinct, sequential stages. Every calculation, filter, and visual layout component is bound to its specific position in this hierarchy:

StageOperation / Filter TypePrimary Function & Impact
1Extract FiltersRestricts data imported from the data source into Tableau's .hyper storage.
2Data Source FiltersFilters data across all worksheets sharing the data source connection.
3Context FiltersCreates a temporary dependent subset table that pre-filters data for subsequent operations.
4Sets, Top N, FIXED LODs, Conditional FiltersEvaluates Top N rankings, Set memberships, and FIXED Level of Detail calculations.
5Dimension FiltersFilters individual categorical dimensions placed on the Rows, Columns, or Filters shelf.
6INCLUDE / EXCLUDE LODs & Data BlendingCalculates INCLUDE and EXCLUDE LOD expressions and blends secondary data sources.
7Measure FiltersFilters quantitative continuous/discrete measures after aggregations are computed.
8Totals, Reference Lines & Trend LinesComputes grand totals, subtotals, reference lines, and statistical trend models.
9Table CalculationsEvaluates window functions (LOOKUP, RUNNING_SUM, INDEX, TOTAL) on aggregated marks.
10Table Calculation FiltersFilters visible marks in the viz without removing data from underlying table calculations.

Deep Dive into Core Pipeline Stages

1. Extract Filters & Data Source Filters

At the absolute top of the pipeline sit Extract Filters and Data Source Filters. Extract filters apply during the creation or refresh of a Tableau Data Extract (.hyper). They limit the physical rows pulled into memory, reducing extract file size and improving performance. Data Source Filters apply immediately after data connection (or extract creation) and restrict data globally across every worksheet utilizing that specific data source. Neither of these filters can be bypassed by worksheet-level user interactions.

2. Context Filters

A Context Filter elevates a standard dimension filter to a higher level of priority in the pipeline. By default, standard dimension filters in Tableau operate independently at Stage 5. However, when a dimension filter is added to context (turning its pill grey on the Filters shelf), Tableau generates a temporary context table containing only the rows matching that filter. All subsequent Top N filters, Sets, and FIXED LOD expressions operate exclusively on this context subset rather than the entire data source.

3. Sets, Top N Filters, and FIXED LOD Expressions

Stage 4 is a critical battleground on the Tableau Desktop Specialist exam. At this stage, Tableau computes:

  • Top N Filters: Filters that identify the top or bottom N items based on a measure (e.g., Top 10 Customers by Sales).
  • Sets: Dynamic or static collections of dimension values defined by conditions or top rules.
  • FIXED Level of Detail (LOD) Calculations: Calculations using the syntax { FIXED [Dimension] : SUM([Measure]) }.

Because Stage 4 occurs before standard Dimension Filters (Stage 5), a standard dimension filter will not reduce the pool of data evaluated by a Top N filter or a FIXED LOD calculation.

4. Dimension Filters

Standard Dimension Filters operate at Stage 5. They filter non-aggregated categorical fields (e.g., Region, Category, Order Date). They slice raw data rows before aggregations (SUM, AVG) are calculated.

5. INCLUDE and EXCLUDE LOD Expressions & Data Blending

Stage 6 evaluates INCLUDE and EXCLUDE LOD calculations, as well as Data Blending. Unlike FIXED LODs, INCLUDE (which adds dimensions to the view granularity) and EXCLUDE (which removes dimensions from the view granularity) are evaluated after standard dimension filters have been applied. Data Blending also occurs here, bringing secondary data source aggregations into the primary view.

6. Measure Filters

Measure Filters (Stage 7) filter aggregated quantitative data (e.g., SUM([Profit]) > 500). Because measure filters execute after row-level aggregations are calculated, they filter aggregated marks rather than raw underlying data rows.

7. Table Calculations & Table Calculation Filters

Stages 9 and 10 represent the final analytical phase. Table Calculations (LOOKUP(), WINDOW_SUM(), RUNNING_AVG()) calculate values across the rendered visual table. Table Calculation Filters execute at Stage 10 using table calculation functions within a filter (e.g., LOOKUP(MIN([Category]), 0)). Because they sit at the very end of the pipeline, Table Calculation Filters slice the final displayed view without altering or recalculating the underlying table calculations.


Critical Exam Scenarios & Troubleshooting Patterns

Scenario A: The Top N Filter and Region Filter Bug

Problem: You create a visualization displaying the "Top 10 Customers by Sales". When you add a dimension filter for Region = 'West', Tableau displays only 3 customers instead of 10. Root Cause: Standard dimension filters (Stage 5) run after Top N filters (Stage 4). Tableau first calculates the global Top 10 Customers across the entire dataset, and then filters those 10 customers to display only those located in the West region (which happens to be 3 customers). Solution: Right-click the Region filter pill on the Filters shelf and select Add to Context. The Region filter moves to Stage 3, forcing Tableau to filter the dataset to the West region first, and then calculate the Top 10 Customers within that West region subset.

Scenario B: FIXED vs. INCLUDE LOD Behavior with Dimension Filters

  • If you use { FIXED [Region] : SUM([Sales]) }, applying a standard filter on [Category] will not alter the fixed sum because FIXED runs at Stage 4 while Category filter runs at Stage 5. To make the fixed sum respond to Category, Category must be added to Context.
  • If you use { INCLUDE [Region] : SUM([Sales]) }, applying a standard filter on [Category] will alter the calculated sum because INCLUDE runs at Stage 6, after the Category filter evaluates at Stage 5.

Scenario C: Hiding Past Years Without Ruining Running Totals

Problem: You have a line chart showing a RUNNING_SUM(SUM([Sales])) from 2020 to 2024. You want to hide 2020–2022 from the view while preserving the cumulative running total calculation starting from 2020. Solution: Applying a standard dimension filter on Order Date at Stage 5 removes 2020–2022 rows before the running sum is computed, resetting 2023's starting total to zero. Instead, create a calculated field LOOKUP(MIN(YEAR([Order Date])), 0) and place it on the Filters shelf. As a Table Calculation Filter (Stage 10), it filters the display without stripping historical rows from the RUNNING_SUM calculation at Stage 9.


Summary Matrix: Order of Operations Quick Reference

Feature / FilterOrder of Operations RankCan be overwritten by Context Filter?Affected by Standard Dimension Filter?
Extract Filter1 (First)NoNo
Data Source Filter2NoNo
Context Filter3N/A (Is the Context)No
Top N / FIXED LOD4YesNo
Dimension Filter5YesN/A
INCLUDE / EXCLUDE LOD6YesYes
Measure Filter7YesYes
Table Calculation9YesYes
Table Calc Filter10 (Last)YesYes
Loading diagram...
Tableau Data Pipeline Order of Operations
Test Your Knowledge

A Tableau developer creates a visualization showing the Top 10 Customers by Profit. When adding a standard dimension filter for Category = 'Technology', the view displays only 4 customers instead of 10. Which action ensures the view displays the Top 10 Customers within the Technology category?

A
B
C
D
Test Your Knowledge

A developer wants to hide data from previous years in a view without affecting a RUNNING_SUM table calculation. Which type of filter should be used?

A
B
C
D
Test Your Knowledge

Which calculation type is evaluated BEFORE standard Dimension Filters in the Tableau Order of Operations?

A
B
C
D