Rules / DAX Expressions

Measure references should be unqualified

error DAX_MEASURES_UNQUALIFIED · ported · scope: Measure, CalculatedColumn, CalculatedTable, CalculationItem

What it checks

Measures, calculated columns, calculated tables, and calculation items that refer to a measure with a table prefix, 'Table'[Measure].

Why it matters

A measure belongs to the model, not to the table it sits in; the table is only its home in the field list. Writing 'Sales'[Total Sales] makes it look like a column, which changes what the next reader expects it to do, and it breaks the moment someone moves the measure to a measure table, which is a routine tidy-up.

How to fix it

Write [Measure] with no table name.

Quirks

Links

Check a model for this Improve this page