DAXMaintainabilityLow
Declared variable never used
"Declared variable never used" is one of the maintainability checks Auditabi runs on a Power BI semantic model. n expression(s) declare a VAR that is never referenced. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Remove the variable or use it.
What is detected
n expression(s) declare a VAR that is never referenced. Dead code that is still evaluated lazily is confusing, and often a leftover of a bug.
Why it matters
Hygiene and maintainability. Fix when touching the object.
How to fix it
Remove the variable or use it.
Does your model fail this check?
Free static audit with the exact objects, no account, nothing stored.
More DAX checks
- Arithmetic or comparison on a measure that returns text
- Measure returning text in one branch and a number in another
- Share denominator clears a fact-table column instead of the dimension
- "Previous period" window overlaps the current one
- Percentage label built without ×100
- Percentages and amounts summed together