Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Lin1
Partner - Contributor II
Partner - Contributor II

IF ... OR/AND ... Then

Hi. I am new to Qlik and hope someone can help me on this, many thanks:

Can I use:

IF vFullMode = 1 or vQvdExists = 0 then ...

OR:

IF vFullMode = 1 and  vQvdExists = 1 then ...

OR:

IF vFullMode = 1 then

     IF vQvdExists = 0 then

      ......

      Else

      ......

End IF

Labels (1)
1 Solution

Accepted Solutions
Lin1
Partner - Contributor II
Partner - Contributor II
Author

Thank you Chris. I will check out how Trace works.

I tried IF vFullMode = 1 or vQvdExists = 0 then ..., it seemed worked fine. So I guess it is allowed.

View solution in original post

2 Replies
chris_djih
Creator III
Creator III

The easiest way to find out without waiting hours or days for an answer in the comunity is:

Just try! Use a trace string to test if your logic is correct.
(short answer: yes)

If you found help, mark the correct answer and give some likes to ALL contributors, that tried to help.
Lin1
Partner - Contributor II
Partner - Contributor II
Author

Thank you Chris. I will check out how Trace works.

I tried IF vFullMode = 1 or vQvdExists = 0 then ..., it seemed worked fine. So I guess it is allowed.