All checks
DAXMaintainabilityLow

Two variables holding the same expression

"Two variables holding the same expression" is one of the maintainability checks Auditabi runs on a Power BI semantic model. n expression(s) declare two variables with an identical body. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Keep one variable and reference it twice.

What is detected

n expression(s) declare two variables with an identical body. One of them is dead weight, and a later change applied to only one of the two is a silent bug.

Why it matters

Hygiene and maintainability. Fix when touching the object.

How to fix it

Keep one variable and reference it twice.

Does your model fail this check?

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

Audit a model

More DAX checks