The Definitive DAX Filter Context – Water Plant

Every filter narrows what the measure can see; the data itself never changes. Tanks are drawn by scope, from the whole report down to one cell. RLS is a locked valve, and CALCULATE() can rewrite every filter except RLS.

Filters (% of rows each keeps)

100% = no filter. Rows are never deleted; each level only narrows what the measure can see.

80%
90%
85%
60%
70%
40%
50%

The measure sees — of all rows — of 10,00,000 rows

DAX filter context, level by level

The funnel is drawn in order of scope (how much of the report a filter reaches). When a measure is evaluated, all these filters are merged into one filter context and sent to the storage engine as a single query; they combine by intersection, so their order doesn't change the result. Only RLS (always enforced) and CALCULATE (applied on top of the incoming context) have a real position.

LevelScopeCan CALCULATE override it?
Row-Level SecurityEvery query for that userNo. It is enforced by the engine 🔒
Report filterAll pages and visualsYes (on the columns CALCULATE filters)
Page filterAll visuals on one pageYes
Slicer / cross-filterThe visuals it is linked toYes
Visual filterOne visualYes
Cell (row/column headers)One number in the visual, e.g. 2024 × ChennaiYes
CALCULATE()The measure it wrapsIt is the override: replaces filters on the same columns, or adds with KEEPFILTERS
Row contextThe current row of an iterator / calculated columnNot a filter by itself; CALCULATE turns it into one (context transition)