All checks
DAXReliabilityMedium

USERELATIONSHIP outside a CALCULATE

"USERELATIONSHIP outside a CALCULATE" is one of the reliability checks Auditabi runs on a Power BI semantic model. n expression(s) call USERELATIONSHIP where it cannot apply — it is only honoured as a CALCULATE or CALCULATETABLE filter argument. It is a medium-severity finding: the model still works, but results are wrong in some filter contexts, slow, or fragile under change. Move USERELATIONSHIP into the CALCULATE that wraps the aggregation.

What is detected

n expression(s) call USERELATIONSHIP where it cannot apply — it is only honoured as a CALCULATE or CALCULATETABLE filter argument. The inactive relationship stays inactive and the measure returns the value of the active path.

Why it matters

Wrong in some filter contexts, slow, or fragile under change. Fix in the next iteration.

How to fix it

Move USERELATIONSHIP into the CALCULATE that wraps the aggregation.

Does your model fail this check?

Free static audit with the exact objects, no account, nothing stored.

Audit a model

More DAX checks