<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Xor operator in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932350#M978617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;A &lt;/SPAN&gt;&lt;STRONG style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;bitwise XOR&lt;/STRONG&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; takes two bit patterns of equal length and performs the &lt;/SPAN&gt;&lt;A class="mw-redirect" href="https://en.wikipedia.org/wiki/Exclusive_disjunction" style="color: #0b0080; font-family: sans-serif; font-size: 14px; background: none #ffffff;" title="Exclusive disjunction"&gt;logical exclusive OR&lt;/A&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; operation on each pair of corresponding bits. The result in each position is 1 if only the first bit is 1 &lt;/SPAN&gt;&lt;EM style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;or&lt;/EM&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; only the second bit is 1, but will be 0 if both are 0 or both are 1. In this we perform the comparison of two bits, being 1 if the two bits are different, and 0 if they are the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;In simple terms, if both conditions are true or false it will give result as " False " . If any one is true you will get result as " True "&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;&lt;A href="https://community.qlik.com/message/463178"&gt;Re: Xor Logical Operators&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Aug 2015 05:09:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-29T05:09:45Z</dc:date>
    <item>
      <title>Xor operator</title>
      <link>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932348#M978615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please help to provide an example for &lt;SPAN style="color: #0000ff;"&gt;Xor&lt;/SPAN&gt; operator in QV.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932348#M978615</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Xor operator</title>
      <link>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932349#M978616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3 style="color: black; margin: 0.3em 0 0; padding-top: 0.5em; border-bottom-style: none; font-size: 1.2em; font-family: sans-serif; background: none #ffffff;"&gt;See this:&lt;/H3&gt;&lt;P&gt;&lt;A href="http://whatis.techtarget.com/definition/logic-gate-AND-OR-XOR-NOT-NAND-NOR-and-XNOR" title="http://whatis.techtarget.com/definition/logic-gate-AND-OR-XOR-NOT-NAND-NOR-and-XNOR"&gt;What is logic gate (AND, OR, XOR, NOT, NAND, NOR and XNOR)? - Definition from WhatIs.com&lt;/A&gt;&lt;/P&gt;&lt;H3 style="color: black; margin: 0.3em 0 0; padding-top: 0.5em; border-bottom-style: none; font-size: 1.2em; font-family: sans-serif; background: none #ffffff;"&gt;&lt;A href="http://www.cplusplus.com/doc/boolean/" title="http://www.cplusplus.com/doc/boolean/"&gt;Boolean Operations - C++ Tutorials&lt;/A&gt;&lt;/H3&gt;&lt;P style="color: black; margin: 0.3em 0 0; padding-top: 0.5em; border-bottom-style: none; font-size: 1.2em; font-family: sans-serif; background: none #ffffff;"&gt;&lt;STRONG&gt;Comparison with OR would you clear your concept.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(true OR true) -&amp;gt; &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;true&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(true OR false) -&amp;gt; true&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(false OR false) -&amp;gt; false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;whereas, for XOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(true XOR true) -&amp;gt; &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;false&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(true XOR false) -&amp;gt; true&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(false XOR false) -&amp;gt; false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i.e. - ONLY one true is true. (Note: order of true/false would not change the result)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 04:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932349#M978616</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-08-29T04:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Xor operator</title>
      <link>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932350#M978617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;A &lt;/SPAN&gt;&lt;STRONG style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;bitwise XOR&lt;/STRONG&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; takes two bit patterns of equal length and performs the &lt;/SPAN&gt;&lt;A class="mw-redirect" href="https://en.wikipedia.org/wiki/Exclusive_disjunction" style="color: #0b0080; font-family: sans-serif; font-size: 14px; background: none #ffffff;" title="Exclusive disjunction"&gt;logical exclusive OR&lt;/A&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; operation on each pair of corresponding bits. The result in each position is 1 if only the first bit is 1 &lt;/SPAN&gt;&lt;EM style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;or&lt;/EM&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; only the second bit is 1, but will be 0 if both are 0 or both are 1. In this we perform the comparison of two bits, being 1 if the two bits are different, and 0 if they are the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;In simple terms, if both conditions are true or false it will give result as " False " . If any one is true you will get result as " True "&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;&lt;A href="https://community.qlik.com/message/463178"&gt;Re: Xor Logical Operators&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 05:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932350#M978617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-29T05:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Xor operator</title>
      <link>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932351#M978618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thank you for the information.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 07:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932351#M978618</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-29T07:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Xor operator</title>
      <link>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932352#M978619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the truth table of XOR, if any one value is true (1) then the result is true otherwise false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Xor.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97338_Xor.gif" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;For example, if I have date like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, Region, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; India, APAC, 1000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singapore , APAC, 500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USA, USA, 600&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UK, UK, 300&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for the below set analysis expression&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Country /= {'India'}&amp;gt;} Sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returns 1400, because for the record with country India /= returns false, because in possible values we have India (Since I do not select any value) and in given set I have India, so both are true then it won't considers this record for calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if you select India then this expression returns 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select Singapore then this returns 1500 (500 (Singapore) + 1000 (India)) for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 09:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Xor-operator/m-p/932352#M978619</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-29T09:48:01Z</dc:date>
    </item>
  </channel>
</rss>

