Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

IsNull() function

hi, can anybody tell me in simple words what is IsNull() and why and where is it used?

15 Replies
Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Please read this blog post by HIC for better understanding of NULL

Gysbert_Wassenaar

IsNull(expr) returns -1 (true) if expr returns NULL, otherwise 0 (false).

What part(s) of this sentence don't you understand?


talk is cheap, supply exceeds demand
ToniKautto
Employee
Employee

Please remember to mark correct and helpful answers, to show your gratitude for the effort that has been put in to answering your questions. It will also indicate if you are happy with the replies or if you require more input.

ashishpalkar
Creator III
Creator III

Hi Gysbert

How can we use following in Qlik?

,ISNULL(I.instrumentcusip,ISNULL(I.instrumentsedol,ISNULL(I.instrumentisin,I.instrumentticker))) AS [SECURITY ID]

thanks

Gysbert_Wassenaar

You can use it as text to fill some space. Put '//' in front of it and it can be used as a comment.

Isnull takes only one argument. So it you try to use it with two arguments your script will throw an error.

If you have a question then creating a new discussion for it is a better idea than digging up a discussion that's been dead and buried for three years.


talk is cheap, supply exceeds demand