All checks
DAXMaintainabilityLow

Hardcoded identifier in a filter

"Hardcoded identifier in a filter" is one of the maintainability checks Auditabi runs on a Power BI semantic model. n expression(s) filter on a literal identifier (an ID, a code such as "D04I"). It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Filter on a descriptive attribute or a flag column maintained in the dimension, or expose the value as a parameter table.

What is detected

n expression(s) filter on a literal identifier (an ID, a code such as "D04I"). When the reference data changes the measure silently returns nothing.

Why it matters

Hygiene and maintainability. Fix when touching the object.

How to fix it

Filter on a descriptive attribute or a flag column maintained in the dimension, or expose the value as a parameter table.

Does your model fail this check?

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

Audit a model

More DAX checks