Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
DavideT
Contributor
Contributor

Differences between if(IsNull([field])) and If([field]=Null())

I tried in a script doing If([field]=Null()) and it doesn't work, while if(IsNull([field])) does. Could you explain to me why?

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Hi,

IsNul() returns a logical answer in True or False (-1 or 0 ), whereas the Null() function returns ‘-‘ in place of a null value.

View solution in original post

1 Reply
BrunPierre
Partner - Master
Partner - Master

Hi,

IsNul() returns a logical answer in True or False (-1 or 0 ), whereas the Null() function returns ‘-‘ in place of a null value.