Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dreweezy
Creator II
Creator II

count if field/column value is null

Hi Qlik gurus, I am stuck on a simple syntax problem.

I imported an excel spreadsheet that has dates in the format - "MM/DD/YYYY"

My field/column is "DATE" which also includes 'N/A' values (as text). It looks like Qlik reads these as a simple null or '-' by doing a simple pivot table I was able to see that. 

I want to do a simple count of my DATE column to see how many are null (for a KPI). So I have tried 3 different syntax but no luck. 

1. count{<DATE= {'N/A'}>} DATE)

2. count{<DATE= {'-'}>} DATE)

3. count{<DATE= {' '}>} DATE)

 

Labels (1)
1 Solution

Accepted Solutions
Channa
Specialist III
Specialist III

just try isnull(date)

or ismissing(date)

Channa

View solution in original post

4 Replies
hopkinsc
Partner - Specialist III
Partner - Specialist III

Hi

There isn't much you can do with NULL values,

maybe try

Count(if(isnull(DATE),1,0))

See if that works

dreweezy
Creator II
Creator II
Author

I was able to use this function and produced the results!

NullCount(['Column_Name'])

Channa
Specialist III
Specialist III

just try isnull(date)

or ismissing(date)

Channa
dreweezy
Creator II
Creator II
Author

This works as well. Thanks Channa!