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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with if statement

Hi

I am trying to put together a if statement in the below in the expression but only the first value is being parsed as valid.  Please help.

if(A=0,null,B/C)

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Null is a function, so like this:

If(A = 0, Null(), B / C)

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thank your for your quick reply and help.