All checks
DAXReliabilityMedium

Date column compared with a text literal

"Date column compared with a text literal" is one of the reliability checks Auditabi runs on a Power BI semantic model. n expression(s) compare a date column with a quoted literal. It is a medium-severity finding: the model still works, but results are wrong in some filter contexts, slow, or fragile under change. Use DATE(year, month, day) or DATEVALUE with an unambiguous format.

What is detected

n expression(s) compare a date column with a quoted literal. The comparison depends on the locale of the model and silently returns nothing when the format does not match.

Why it matters

Wrong in some filter contexts, slow, or fragile under change. Fix in the next iteration.

How to fix it

Use DATE(year, month, day) or DATEVALUE with an unambiguous format.

Does your model fail this check?

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

Audit a model

More DAX checks