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: 
Not applicable

Xor Logical Operators

Hi ,

I saw Xor in Qlikview help file

Logical exclusive or. The operation returns the logical exclusive or of the operands. I.e. like logical or, but with the difference that the result is false if both operands are true.

Can any one explain this in detail please ...

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Comparison with OR would you clear your concept.

(true OR true) -> true

(true OR false) -> true

(false OR false) -> false

whereas, for XOR

(true XOR true) -> false

(true XOR false) -> true

(false XOR false) -> false

i.e. - ONLY one true is true. (Note: order of true/false would not change the result)

Hope this helps you understand.

View solution in original post

3 Replies
ThornOfCrowns
Specialist II
Specialist II

See here: http://erudition.io/tag/qlikview/ for an excellent explaination, with the use of diagrams.

tresesco
MVP
MVP

Comparison with OR would you clear your concept.

(true OR true) -> true

(true OR false) -> true

(false OR false) -> false

whereas, for XOR

(true XOR true) -> false

(true XOR false) -> true

(false XOR false) -> false

i.e. - ONLY one true is true. (Note: order of true/false would not change the result)

Hope this helps you understand.

Not applicable
Author

Thanks a lot tresesco for you reply ....