<?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 Set Analysis: 'OR' between modifiers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-OR-between-modifiers/m-p/221141#M73975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From Help Menu for 'Set Analysis'&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Year = {2000}, Region = {US, SE, DE, UK, FR}&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but with new selections both in "Year" and in "Region".&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;Here ',' betweent {2000} and Region represents AND or Intersection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;return the sales for current selection, but with new selections both in "Year" '&lt;B&gt;OR or Union&lt;/B&gt;&lt;/STRONG&gt;' in "Region".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Thanks in advance.&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Abi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Sep 2010 18:56:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-28T18:56:04Z</dc:date>
    <item>
      <title>Set Analysis: 'OR' between modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-OR-between-modifiers/m-p/221141#M73975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From Help Menu for 'Set Analysis'&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Year = {2000}, Region = {US, SE, DE, UK, FR}&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but with new selections both in "Year" and in "Region".&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;Here ',' betweent {2000} and Region represents AND or Intersection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;return the sales for current selection, but with new selections both in "Year" '&lt;B&gt;OR or Union&lt;/B&gt;&lt;/STRONG&gt;' in "Region".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Thanks in advance.&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Abi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 18:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-OR-between-modifiers/m-p/221141#M73975</guid>
      <dc:creator />
      <dc:date>2010-09-28T18:56:04Z</dc:date>
    </item>
    <item>
      <title>Set Analysis: 'OR' between modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-OR-between-modifiers/m-p/221142#M73976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the Symmetric Difference, but that will fail when both conditions are true. I think you need the Symmetric Difference combined with the Intersection.&lt;/P&gt;&lt;P&gt;It's messy, but I think it would be:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum( {$&amp;lt;Year = {2000}&amp;gt;/&amp;lt;Region = {US, SE, DE, UK, FR}&amp;gt;} Sales ) +&lt;BR /&gt;sum( {$&amp;lt;Year = {2000}&amp;gt;*&amp;lt;Region = {US, SE, DE, UK, FR}&amp;gt;} Sales )&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I think that should give you the Sales when either condition is met (but not both) combined with the Sales where both conditions are met. Logically, that should give you everything where either condition is met.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 20:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-OR-between-modifiers/m-p/221142#M73976</guid>
      <dc:creator />
      <dc:date>2010-09-28T20:10:18Z</dc:date>
    </item>
    <item>
      <title>Set Analysis: 'OR' between modifiers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-OR-between-modifiers/m-p/221143#M73977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I missed something, but doesn't that simplify to just the union?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sum({&amp;lt;Year={2000}&amp;gt;+&amp;lt;Region={US,SE,DE,UK,FR}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 23:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-OR-between-modifiers/m-p/221143#M73977</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-09-28T23:39:47Z</dc:date>
    </item>
  </channel>
</rss>

