Variable named like a column of the model
"Variable named like a column of the model" is one of the maintainability checks Auditabi runs on a Power BI semantic model. n expression(s) declare a variable whose name matches a column of the model. It is a hygiene note: provable, worth fixing, but it never moves the health score. Prefix variables (VarSales, _sales) so the reader always knows what is a variable and what is a model object.
What is detected
n expression(s) declare a variable whose name matches a column of the model. Readers resolve the wrong symbol when scanning the code.
Why it matters
Hygiene and conventions. Reported in its own section and never deducted from the health score.
How to fix it
Prefix variables (VarSales, _sales) so the reader always knows what is a variable and what is a model object.
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