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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
adurgani
Contributor III
Contributor III

Nested IF/AND/OR in Qlikview

How would you script this in Qlikview.

=IF(AND(EB2<>1,OR(BL2<>0,BL2<>"")),"Error","OK")

Have spent hours already and this is as far as I got. Any help is really appreciated.

If ( [EB2] -= 1 and  [BL2]-=0 or [BL2]-=''  ,"Error","OK") as [Jan Test]

Labels (1)
1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

May be Try this?

If ( [EB2]  <> 1 and  ( [BL2] <> 0 OR NOT ISNULL([BL2]) = -1), 'Error', 'OK')  as [Jan Test]

View solution in original post

1 Reply
vishsaggi
Champion III
Champion III

May be Try this?

If ( [EB2]  <> 1 and  ( [BL2] <> 0 OR NOT ISNULL([BL2]) = -1), 'Error', 'OK')  as [Jan Test]