DAXDAX QualityLow
Boolean column summed
"Boolean column summed" is one of the dax quality checks Auditabi runs on a Power BI semantic model. n measure(s) sum a boolean column. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Count the rows with CALCULATE(COUNTROWS(Table), Table[Flag] = TRUE()) so the intent is explicit.
What is detected
n measure(s) sum a boolean column. The result depends on how TRUE is stored and reads as a count without saying so.
Why it matters
Hygiene and maintainability. Fix when touching the object.
How to fix it
Count the rows with CALCULATE(COUNTROWS(Table), Table[Flag] = TRUE()) so the intent is explicit.
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