Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
The New Qlik Learning Experience is Here! GET STARTED
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.