Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

How to count nulls

Hi,

I've attached the following Document, I want to count the number nulls in a field and not sure how to do this?

Thanks

1 Solution

Accepted Solutions
pover
Luminary Alumni
Luminary Alumni

Or better, using Tim Benoit's blog for inspiration:

=count({$<OrderNo={"=isnull(PT)"}>} OrderNo)

Regards.

View solution in original post

5 Replies
pover
Luminary Alumni
Luminary Alumni

Would this work for you?

=count(OrderNo) - count({$<PT={"*"}>} OrderNo)

Regards.

pover
Luminary Alumni
Luminary Alumni

Or better, using Tim Benoit's blog for inspiration:

=count({$<OrderNo={"=isnull(PT)"}>} OrderNo)

Regards.

Not applicable

I tried this on your example and it seemed to work:

=count(if(isnull(PT),1))

Not applicable

nullcount(PT) worked like a charm.

ivandrago
Creator II
Creator II
Author

Thanks Guy with all your answers!