NullCount(Email)

NullCount, TextCount, NumericCount, MissingCount in Power BI

Qlik has separate counters for NULLs, text values, numbers, and "missing" values (NULL or text). DAX columns hold one data type, so most of these turn into COUNTBLANK, COUNT or COUNTROWS with a filter. Mixed-type checks belong in Power Query.

Partial / different approach DAX

Short answer: NullCount(x) becomes COUNTBLANK(T[x]). Count(x) on a column is COUNT(T[x]) for non-blank values. TextCount and NumericCount only make sense before loading, so do them in Power Query with Value.Is.

What it does in Qlik

  • NullCount(expr) counts NULL values.
  • TextCount(expr) counts values that are text.
  • NumericCount(expr) counts numeric values.
  • MissingCount(expr) counts values that are NULL or text, for example when a numeric field failed to parse.

Qlik example

Qlik chart expressions
NullCount(Email)
NumericCount(Amount)
MissingCount(Amount)

Power BI equivalent

DAX

DAX
Customers without email = COUNTBLANK ( Customer[Email] )

Rows with amount = COUNT ( Sales[Amount] )

Rows without amount = COUNTROWS ( Sales ) - COUNT ( Sales[Amount] )

Power Query profiling for mixed-type columns

Power Query M
= Table.AddColumn(Source, "AmountIsNumber",
    each Value.Is(Value.FromText([Amount]), type number), type logical)

Or turn on View > Column quality and Column distribution in the Power Query editor. They show valid, error and empty counts per column.

Gotchas and behaviour differences

  • COUNTBLANK also counts empty strings "" in a text column. Qlik's NullCount does not count empty strings, because '' is a value in Qlik.
  • A DAX column has one type, so a numeric column can't hold text. Values that failed to convert in Power Query become errors and break the refresh unless you remove or replace them. That is the Power BI version of MissingCount.

Official documentation

Related pages

Spotted an error or a better pattern? QlikToDax is maintained by a working BI consultant; corrections are welcome via the About page. Last reviewed 2026-10-25.