<?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: Set Analysis - Intersection exclusion. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579456#M1118175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following two expressions both worked for me:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=sum({$&amp;lt;Subaccount=E({1&amp;lt;Account={2601},Subaccount={'001'}&amp;gt;}Subaccount)&amp;gt;*&amp;lt;Subaccount=E({1&amp;lt;Account={2602},Subaccount={'001','003'}&amp;gt;}Subaccount)&amp;gt;} Money)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=sum({$-(&amp;lt;Account={2601},Subaccount={'001'}&amp;gt;/&amp;lt;Account={2602},Subaccount={'001','003'}&amp;gt;)}Money)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see them in action in the text boxes in the attached .qvw file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 18:28:25 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2014-01-28T18:28:25Z</dc:date>
    <item>
      <title>Set Analysis - Intersection exclusion.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579455#M1118174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone. I'm quite new to QV. I have the following question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have accounts, and sub-accounts. Various sub-accounts per account:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Account - Subaccount - Money&lt;/P&gt;&lt;P&gt;2601 - 001 - $500&lt;/P&gt;&lt;P&gt;2601 - 002 - $400&lt;/P&gt;&lt;P&gt;2602 - 001 - $900&lt;/P&gt;&lt;P&gt;2602 - 002 - $1000&lt;/P&gt;&lt;P&gt;2602 - 003 - $300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I say, via set analysis "I want the sum of money from every account and sub-account EXCEPT from account&amp;nbsp; = {2601} &amp;amp; subaccount = {001}, and account = {2602} &amp;amp; subaccounts = {001,003} ? Meaning I would be excluding $500 from account 2601, and $900 and $300 from account 2602.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Martín.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579455#M1118174</guid>
      <dc:creator />
      <dc:date>2014-01-28T18:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Intersection exclusion.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579456#M1118175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following two expressions both worked for me:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=sum({$&amp;lt;Subaccount=E({1&amp;lt;Account={2601},Subaccount={'001'}&amp;gt;}Subaccount)&amp;gt;*&amp;lt;Subaccount=E({1&amp;lt;Account={2602},Subaccount={'001','003'}&amp;gt;}Subaccount)&amp;gt;} Money)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=sum({$-(&amp;lt;Account={2601},Subaccount={'001'}&amp;gt;/&amp;lt;Account={2602},Subaccount={'001','003'}&amp;gt;)}Money)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see them in action in the text boxes in the attached .qvw file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579456#M1118175</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-28T18:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Intersection exclusion.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579457#M1118176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({$-1(&amp;lt;Account={2601},Subaccount={'001'}&amp;gt;/&amp;lt;Account={2602},Subaccount={'001','003'}&amp;gt;)}Money)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 18:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579457#M1118176</guid>
      <dc:creator />
      <dc:date>2014-01-28T18:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Intersection exclusion.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579458#M1118177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are a genius, Nicole Smith. That E() function there (which I did not know about) changed my life forever. Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 21:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579458#M1118177</guid>
      <dc:creator />
      <dc:date>2014-01-28T21:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Intersection exclusion.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579459#M1118178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad it was helpful! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 21:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579459#M1118178</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-28T21:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Intersection exclusion.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579460#M1118179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you too, Asim! I had to remove '-1' from '$-1', but aside from that (and it might be my fault) your answer helped me too. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 21:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Intersection-exclusion/m-p/579460#M1118179</guid>
      <dc:creator />
      <dc:date>2014-01-28T21:11:21Z</dc:date>
    </item>
  </channel>
</rss>

