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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
jblomqvist
Specialist
Specialist

How can you identify if a field has Null values or blank? And how can I convert blank values to Null values?

Hi all,

How can you identify if a field has Null values or blank? And how can I convert blank values to Null values?

Is there a simple demo app that anyone can share to demonstrate this please?

The reason I ask is because

I am trying to use

Set NullValue = '<Unknown>'; and use NULLASVALUE function for some fields but I don't they are null.

1 Reply
maxgro
MVP
MVP

check if field is nulll

if(isnull(field), 'is null', 'is not null') as newfield

check null or blank

if(len(trim(field))=0, 'is null or blank', 'is not null blank') as newfield


convert blank to null

if(len(trim(field))=0, null(), field) as field