All checks
DAXMaintainabilityLow

Same sub-expression evaluated several times

"Same sub-expression evaluated several times" is one of the maintainability checks Auditabi runs on a Power BI semantic model. n expression(s) repeat the same CALCULATE / iterator call three or more times without a variable. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Compute it once in a VAR and reuse the variable.

What is detected

n expression(s) repeat the same CALCULATE / iterator call three or more times without a variable. Each occurrence is evaluated again.

Why it matters

Hygiene and maintainability. Fix when touching the object.

How to fix it

Compute it once in a VAR and reuse the variable.

Reference

SQLBI: Using variables in DAX

Does your model fail this check?

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

Audit a model

More DAX checks