<?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 AND in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND/m-p/277999#M103563</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;I think you have to do this&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;count({&amp;lt;Business1=P(Business2)&amp;gt;} distinct ID)&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2011 13:37:09 GMT</pubDate>
    <dc:creator>martin59</dc:creator>
    <dc:date>2011-07-13T13:37:09Z</dc:date>
    <item>
      <title>Set analysis AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND/m-p/277998#M103562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two list boxes, business1 &amp;amp; business2.&amp;nbsp; I want a count of whether you are in business1, business2 or both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the first two set up as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {&amp;lt;business2=&amp;gt;} distinct ID)&amp;nbsp;&amp;nbsp; // gives me a count of those selected in business1 irrespective of what is selected in business2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {&amp;lt;business=&amp;gt;} distinct ID)&amp;nbsp; //gives me the opposite count to above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use set analysis to give me the count of ID's who are in BOTH groups?&amp;nbsp; In essence this gives me the figures one would see in a venn diagram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 13:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND/m-p/277998#M103562</guid>
      <dc:creator />
      <dc:date>2011-07-13T13:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-AND/m-p/277999#M103563</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;I think you have to do this&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;count({&amp;lt;Business1=P(Business2)&amp;gt;} distinct ID)&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 13:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-AND/m-p/277999#M103563</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2011-07-13T13:37:09Z</dc:date>
    </item>
  </channel>
</rss>

