TRUE / FALSE returned where a number is expected
"TRUE / FALSE returned where a number is expected" is one of the dax quality checks Auditabi runs on a Power BI semantic model. n measure(s) return TRUE() or FALSE() directly. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Return 1 and 0, or a text label, depending on how the measure is consumed.
What is detected
n measure(s) return TRUE() or FALSE() directly. A boolean measure cannot be aggregated, sorted or formatted, and it renders as True/False in a visual meant for numbers.
Why it matters
Hygiene and maintainability. Fix when touching the object.
How to fix it
Return 1 and 0, or a text label, depending on how the measure is consumed.
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