<?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: +(sum(Aggr(sum({$&amp;lt;%_AccountNumberIDKey /= {'52','53'}&amp;gt;} in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344198#M1173801</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;/= is the exclusive OR (XOR or symmetric difference) operator. It returns those members of each set which do not exist in the other set. In this contexm the current selection is one set, and the bracketted expression {'52','53'} is the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2012 10:15:29 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-06-08T10:15:29Z</dc:date>
    <item>
      <title>+(sum(Aggr(sum({$&lt;%_AccountNumberIDKey /= {'52','53'}&gt;}</title>
      <link>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344197#M1173800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can someone help clarify what is going on here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+(sum(Aggr(sum({$&amp;lt;%_AccountNumberIDKey /= {'52','53'}&amp;gt;} &lt;/P&gt;&lt;P&gt;IF((%_AccountNumberIDKey &amp;lt;&amp;gt; 52 or %_AccountNumberIDKey &amp;lt;&amp;gt; 53) and [Logistics Fee] &amp;gt; 0 and [Logistics Fee] &amp;lt;= 0.12,Sales,0))*([Logistics Fee]),DebtorName,ItemDescription))*0.5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specifically what is going on with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the first line of the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 10:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344197#M1173800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-08T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: +(sum(Aggr(sum({$&lt;%_AccountNumberIDKey /= {'52','53'}&gt;}</title>
      <link>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344198#M1173801</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;/= is the exclusive OR (XOR or symmetric difference) operator. It returns those members of each set which do not exist in the other set. In this contexm the current selection is one set, and the bracketted expression {'52','53'} is the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 10:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344198#M1173801</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-08T10:15:29Z</dc:date>
    </item>
    <item>
      <title>+(sum(Aggr(sum({$&lt;%_AccountNumberIDKey /= {'52','53'}&gt;}</title>
      <link>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344199#M1173802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so in this case the exclusive OR returns everything except '52' and '53' ? Is that right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 10:23:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344199#M1173802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-08T10:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: +(sum(Aggr(sum({$&lt;%_AccountNumberIDKey /= {'52','53'}&gt;}</title>
      <link>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344200#M1173803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will return everything in the current selection (the $ sign) &lt;STRONG&gt;other &lt;/STRONG&gt;than 52, 53. It will also return either or both those two values if they &lt;STRONG&gt;don't &lt;/STRONG&gt;exist in the selection. In other words, it will include everything that exists either in the selection, or in 52,53 - &lt;STRONG&gt;but not both.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is that a little clearer?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 10:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344200#M1173803</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-08T10:45:53Z</dc:date>
    </item>
    <item>
      <title>+(sum(Aggr(sum({$&lt;%_AccountNumberIDKey /= {'52','53'}&gt;}</title>
      <link>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344201#M1173804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, that is a little clearer I think. &lt;/P&gt;&lt;P&gt;Just need a little more clarification please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you state:&lt;/P&gt;&lt;P&gt;"it will also return &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;either or both&lt;/STRONG&gt;&lt;/SPAN&gt; those two values if they don't exist in the selection" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you mean either 52 or 53, or both 52 and 53&lt;/P&gt;&lt;P&gt;OR are you referring to the current selection as one value and 52, 53 as another value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So does that mean if there is no selection, it automatically includes 52,53 but nothing else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is it saying for example if 52 is selected it will include 53 as well, but nothing else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 11:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344201#M1173804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-08T11:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: +(sum(Aggr(sum({$&lt;%_AccountNumberIDKey /= {'52','53'}&gt;}</title>
      <link>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344202#M1173805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the selection contains 1, 2, 3; the expression will return 1, 2, 3, 52, 53 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the selection contains 1, 2, 52; the expression will return 1, 2, 53&amp;nbsp; (&lt;EM&gt;52 is in both sets so it is excluded)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the selection contains 1, 2, 53; the expression will return 1, 2, 52&amp;nbsp;&amp;nbsp; &lt;EM&gt;(53 is in both sets so excluded)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the selection contains 1, 2, 52, 53; the expression will return 1, 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Google Exclusive Or (XOR) for more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jun 2012 18:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-Aggr-sum-lt-AccountNumberIDKey-52-53-gt/m-p/344202#M1173805</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-10T18:18:02Z</dc:date>
    </item>
  </channel>
</rss>

