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: 
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 II
Partner - Master II

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 II
Partner - Master II

Hi,

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