<?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: Re: Venn diagram (Google API) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614837#M1096631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course, i can explain how does it works.&lt;/P&gt;&lt;P&gt;If you want, I may even come and help you in your QlikView projects &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, this case, on intersection 1 and 2:&lt;/P&gt;&lt;P&gt;=sum(aggr(if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name)=2,1,0), BP))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets start from aggr( expression , BP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will calculate expression for each BP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our expression is:&lt;/P&gt;&lt;P&gt;if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name)=2,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name&lt;/P&gt;&lt;P&gt;will give you rowset with distinct walues of Campaign_Name (remember, that we are on BP level, and we have condition &amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;)}&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we count number ow rows in this rowset.&lt;/P&gt;&lt;P&gt;To know, that this BP is intersection, we need exactly 2 rows. This is why if count=2 then 1 else 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, after taht we have for each BP value 0 (if it is not in intersection) or 1 (if it is in itersection).&lt;/P&gt;&lt;P&gt;If we sum those values, we will get number of BP in our intersection &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 14:19:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-24T14:19:32Z</dc:date>
    <item>
      <title>Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614830#M1096624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I hope you can help me with a topic i know has been covered off in different ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, thanks to all the people who have responded in the past to Venn Diagram queries a lot of this as been mega helpful and taught me lot of useful Set Analysis. The Google Venn is a very powerful API and i hope one day QlikTech will implement it into a release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, on to my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a successfull Venn diagram in my application, and i understand the variables which are needed to be passed though. the problem i am having is how to calulcate the intersects of my data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple yet large dataset of 13M records. This is a fact table of outbound Campaigns. EG:&lt;/P&gt;&lt;P&gt;[BP] [Campaign_Name] [Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP is the customer ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application only allows the venn diagram to work only on 3 selected letters (there could be 50 to choose from). The first three variables of the Venn API are the total size of each circle ive called these , i've used a combination on variables to calulate this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Current selection variables (&lt;SPAN style="color: #3366ff;"&gt;This will return the String of the selected campaign names&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;vVennSelect1 &lt;SPAN style="font-size: 8pt;"&gt;vVennSelect2 &lt;SPAN style="font-size: 8pt;"&gt;vVennSelect3:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Campaign_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),',',1)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Campaign_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),',',2)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Campaign_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),',',3)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Total count variables (Using the variables above to give me a count of the BP's)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="font-size: 8pt;"&gt;vVennCount1 vVennCount2&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="font-size: 8pt;"&gt;vVennCount&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style=": ; font-size: 8pt;"&gt;3:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Campaign_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(vVennSelect1)'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Campaign_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(vVennSelect2)'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Campaign_Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(vVennSelect3)'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The next part i'm struggling on. The above is really my limit on Set Analysis, so i really want to understand how from one table can i return an intersect from a selection A+B B+C C+A - the customer ID is the primary key here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there an expression i can use in a variable to return the above intersects. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Help here would be really appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks for looking&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614830#M1096624</guid>
      <dc:creator />
      <dc:date>2014-04-24T08:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614831#M1096625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may you share qvw with sample data and examples of expected results you would like to get for few selection cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 09:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614831#M1096625</guid>
      <dc:creator />
      <dc:date>2014-04-24T09:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614832#M1096626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/122330"&gt;Dariusz Mielczarek&lt;/A&gt; and thanks for the speedy reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have attached an exmaple as best i can with an inline table (but no master calendar) and a venn diagram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the mentioned variables are in there too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Venn Expression contains hard coded numbers at the moment, taken from the variables, these are in blue boxes to see if they are passin through.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614832#M1096626</guid>
      <dc:creator />
      <dc:date>2014-04-24T10:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614833#M1096627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will give you intersections:&lt;/P&gt;&lt;P&gt;a) A+B (number of BP, which are present in your table with CAMPAIGN1 and CAMPAIGN2):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name)=2,1,0), BP))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) B+C&lt;/P&gt;&lt;P&gt;sum(aggr(if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect3)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name)=2,1,0), BP))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) A+C&lt;/P&gt;&lt;P&gt;sum(aggr(if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect3)','$(=vVennSelect1)'}&amp;gt;}Campaign_Name)=2,1,0), BP))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you must check if there are 2 or 3 campaigns selected. If only 2, you should pass 0 or no value to google api for A+C intersection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614833#M1096627</guid>
      <dc:creator />
      <dc:date>2014-04-24T12:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614834#M1096628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need also A+B+C intersection, i think &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) A+B+C&lt;/P&gt;&lt;P&gt;sum(aggr(if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect3)','$(=vVennSelect2)','$(=vVennSelect1)'}&amp;gt;}Campaign_Name)=3,1,0), BP))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614834#M1096628</guid>
      <dc:creator />
      <dc:date>2014-04-24T12:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614835#M1096629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look into attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614835#M1096629</guid>
      <dc:creator />
      <dc:date>2014-04-24T12:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614836#M1096630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THIS IS JUST AMAZING!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have solved my question, thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is a large ask, and an optional on your part Dariusz, is there any chance you could explaing why and how that expression works please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614836#M1096630</guid>
      <dc:creator />
      <dc:date>2014-04-24T13:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614837#M1096631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course, i can explain how does it works.&lt;/P&gt;&lt;P&gt;If you want, I may even come and help you in your QlikView projects &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, this case, on intersection 1 and 2:&lt;/P&gt;&lt;P&gt;=sum(aggr(if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name)=2,1,0), BP))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets start from aggr( expression , BP)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will calculate expression for each BP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our expression is:&lt;/P&gt;&lt;P&gt;if(count(DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name)=2,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;DISTINCT {&amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;}Campaign_Name&lt;/P&gt;&lt;P&gt;will give you rowset with distinct walues of Campaign_Name (remember, that we are on BP level, and we have condition &amp;lt;Campaign_Name={'$(=vVennSelect1)','$(=vVennSelect2)'}&amp;gt;)}&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we count number ow rows in this rowset.&lt;/P&gt;&lt;P&gt;To know, that this BP is intersection, we need exactly 2 rows. This is why if count=2 then 1 else 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, after taht we have for each BP value 0 (if it is not in intersection) or 1 (if it is in itersection).&lt;/P&gt;&lt;P&gt;If we sum those values, we will get number of BP in our intersection &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 14:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614837#M1096631</guid>
      <dc:creator />
      <dc:date>2014-04-24T14:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Venn diagram (Google API)</title>
      <link>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614838#M1096632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again, i had little parts of that expression dotted around, but its knowing how to apply it or put it in place. this set analysis is proving quite powerfull, the developer course i went on didnt cover it a huge amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 14:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Venn-diagram-Google-API/m-p/614838#M1096632</guid>
      <dc:creator />
      <dc:date>2014-04-24T14:55:55Z</dc:date>
    </item>
  </channel>
</rss>

