All checks
DAXMaintainabilityLow

Long literal list in an IN predicate

"Long literal list in an IN predicate" is one of the maintainability checks Auditabi runs on a Power BI semantic model. n expression(s) test a column against a literal list of more than eight values. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Move the list into a table (a mapping or a flag column) joined to the model.

What is detected

n expression(s) test a column against a literal list of more than eight values. The list is business data living in code: it goes stale and nobody outside the team can audit it.

Why it matters

Hygiene and maintainability. Fix when touching the object.

How to fix it

Move the list into a table (a mapping or a flag column) joined to the model.

Does your model fail this check?

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

Audit a model

More DAX checks