All checks
DAXReliabilityLow

Division guarded by IF instead of DIVIDE

"Division guarded by IF instead of DIVIDE" is one of the reliability checks Auditabi runs on a Power BI semantic model. n measure(s) guard a division with IF on the denominator. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Use DIVIDE(numerator, denominator, alternateResult).

What is detected

n measure(s) guard a division with IF on the denominator. DIVIDE does the same in one operation, is optimised by the engine, and makes the alternate result explicit.

Why it matters

Hygiene and maintainability. Fix when touching the object.

How to fix it

Use DIVIDE(numerator, denominator, alternateResult).

Does your model fail this check?

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

Audit a model

More DAX checks