Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
For the logical operators (and, or, not, xor), what is the order of operations?
For example, if I say
condition1 or condition2 and condition3
Will it evaluate as
(condition1 or condition2) and condition3
or
condition1 or (condition2 and condition3)
?
Also, is it possible to use parentheses to change that behavior?
While I don't see it in the documentation, I would expect QlikView to implement the "standard" order of operations. In other words (and I'm sure I'm missing some, and might have something wrong):
This should also answer your question about parentheses. Yes, you can override with parentheses because they come first in the order of operations.
But why even ask when you can so easily test? Type some expressions in and see what happens.
I think, one of the big purposes of a community is to document the stuff not documented, so thousands of people don't all have to waste time testing to trial and error how something works