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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Shorthand if statement

Hi All,

I just want to ask about a shorthand if statement I have come across.

I'm seeing:

if(statement,1)

I'm assuming this is short for:

if(statement,1,0).

Could someone verifiy that this is correct? Thanks.

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

No, not quite.  if(statement,1) is the same as if(statement,1, null()). And a null is not 0 so that's why they're different.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

No, not quite.  if(statement,1) is the same as if(statement,1, null()). And a null is not 0 so that's why they're different.


talk is cheap, supply exceeds demand