<?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 Weird values calculated with XOR,AND in QlikView in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weird-values-calculated-with-XOR-AND-in-QlikView/m-p/169504#M40285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all of you &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i've a quick question for you: i have to manage in the same formula different cases.&lt;BR /&gt;This formula uses XOR, AND.&lt;/P&gt;&lt;P&gt;i've noticed that, in QV,&lt;BR /&gt;1 AND 1 returns -1&lt;BR /&gt;1 XOR 0 returns -1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a bug ? Is there a way in the config to say to QV to return 1 instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Mar 2010 09:16:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-05T09:16:55Z</dc:date>
    <item>
      <title>Weird values calculated with XOR,AND in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-values-calculated-with-XOR-AND-in-QlikView/m-p/169504#M40285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to all of you &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i've a quick question for you: i have to manage in the same formula different cases.&lt;BR /&gt;This formula uses XOR, AND.&lt;/P&gt;&lt;P&gt;i've noticed that, in QV,&lt;BR /&gt;1 AND 1 returns -1&lt;BR /&gt;1 XOR 0 returns -1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a bug ? Is there a way in the config to say to QV to return 1 instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 09:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-values-calculated-with-XOR-AND-in-QlikView/m-p/169504#M40285</guid>
      <dc:creator />
      <dc:date>2010-03-05T09:16:55Z</dc:date>
    </item>
    <item>
      <title>Weird values calculated with XOR,AND in QlikView</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-values-calculated-with-XOR-AND-in-QlikView/m-p/169505#M40286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just checked the QV Help and it's normal &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&amp;lt;h1&amp;gt;Logical operators&amp;lt;/h1&amp;gt;&lt;BR /&gt;All logical operators interpret the operands logically and return true (-1) or false (0) as result. &amp;lt;table&amp;gt;&amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;not&lt;A id="not" name="not"&gt;&lt;/A&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;Logical inverse. One of the few unary operators. The operation returns the logical inverse of the operand. &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;and&lt;A id="and" name="and"&gt;&lt;/A&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;Logical and. The operation returns the logical and of the operands. &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;or&lt;A id="or" name="or"&gt;&lt;/A&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;Logical or. The operation returns the logical or of the operands. &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;Xor&lt;A id="Xor" name="Xor"&gt;&lt;/A&gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;BR style="margin-bottom:0px;" /&gt;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. &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Anyway, thanks a lot ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 09:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-values-calculated-with-XOR-AND-in-QlikView/m-p/169505#M40286</guid>
      <dc:creator />
      <dc:date>2010-03-05T09:18:26Z</dc:date>
    </item>
  </channel>
</rss>

