All checks
DAXPerformanceLow

COUNT(column) used to count rows

"COUNT(column) used to count rows" is one of the performance checks Auditabi runs on a Power BI semantic model. n expression(s) count a column to obtain a row count. It is a low-severity finding: hygiene and maintainability, worth fixing when you next touch the object. Use COUNTROWS(Table) for row counts; keep COUNT only when you deliberately exclude blanks.

What is detected

n expression(s) count a column to obtain a row count. COUNT skips blanks and is slower than COUNTROWS.

Why it matters

Hygiene and maintainability. Fix when touching the object.

How to fix it

Use COUNTROWS(Table) for row counts; keep COUNT only when you deliberately exclude blanks.

Reference

Tabular Editor BPA: Use COUNTROWS instead of COUNT

Does your model fail this check?

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

Audit a model

More DAX checks