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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
keerthika
Creator II
Creator II

Any functions?

Hi,

     Is there is a function in qlik like NVL2 in oracle?

Regards,

keerthika

1 Solution

Accepted Solutions
baarathi
Creator III
Creator III

Hi Keerthika, keerthika

There is function called ISNULL. If you got the answer please mark correct and close the thread,

https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/NULLFunctions/null-...

View solution in original post

6 Replies
keerthika
Creator II
Creator II
Author

can someone help me?

baarathi
Creator III
Creator III

Hi Keerthika, keerthika

There is function called ISNULL. If you got the answer please mark correct and close the thread,

https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/NULLFunctions/null-...

keerthika
Creator II
Creator II
Author

Hi,

Thank you , i din't know ISNULL has NVL2 functionality.

jonathandienst
Partner - Champion III
Partner - Champion III

If they are numeric, then:

    Alt(Col1, Col2)


If they are any value:

    If(IsNull(Col1), expression-if-null, expression-if-not-null)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
baarathi
Creator III
Creator III

Hi, keerthika

NVL2 ( expr1 , expr2 , expr3 😞 If expr1 is null, then NVL2 returns expr3. If expr1 is not null, then NVL2 returns expr2


This is function of NVL2


We can use ISNULL in similar way in Qlik, Use the below expression


If(ISNULL(Expr1) = -1 , Expr3,Expr2)

keerthika
Creator II
Creator II
Author

Thanks for your reply. I got it.