<?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 Exclusion in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337941#M494795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You mean it return count as 1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2012 10:22:13 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-03-06T10:22:13Z</dc:date>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337938#M494792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm making application that shows how often customers have bought things. I'll simplify it a bit to this. I need to groups, first is customers who have bought things in rolling 12 and second group is people who have bought things before this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm making this with set analysis and with QV9 sr5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt; Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me all customers who have bought things in selected rolling 12 period. Second expression is the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt; Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me also customers who have bought things in rolling period. So I have customers that fits to both expressions. If I undestand second expression correctly then QV calculates 1-1=1. First part of expression returns 1 and second part of expression returns also 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have various versions of this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;&amp;nbsp; Customer = &lt;/P&gt;&lt;P&gt; P({$&amp;lt;Product={'Things'}, InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}&amp;gt;})&amp;gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;Customer =&lt;/P&gt;&lt;P&gt;&amp;nbsp; E({$&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive12)"}&amp;gt;})&amp;gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt; Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take version 2 apart then first part of expression returns 1 and second part of expression returns 0, but for some reason 1 * 0 = 1. I have tried also - and + operators in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 09:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337938#M494792</guid>
      <dc:creator>miikkaqlick</dc:creator>
      <dc:date>2012-03-06T09:59:17Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337939#M494793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is the meaning of the operators.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;+ Union. This binary operation returns a set consisting of the records that belong to any of the two set operands. &lt;/P&gt;&lt;P&gt;- Exclusion. This binary operation returns a set of the records that belong to the first but not the other of the two set operands. Also, when used as a unary operator, it returns the complement set. &lt;/P&gt;&lt;P&gt;* Intersection. This binary operation returns a set consisting of the records that belong to both of the two set operands. &lt;/P&gt;&lt;P&gt;/ Symmetric difference (XOR). This binary operation returns a set consisting of the records that belong to either, but not both of the two set operands. &lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Set1={1,2,3,4}, Set2={3,4,5,6}&lt;/P&gt;&lt;P&gt;Set1+Set2={1,2,3,4,5,6}&lt;/P&gt;&lt;P&gt;Set1-Set2={1,2}&lt;/P&gt;&lt;P&gt;Set1*Set2={3,4}&lt;/P&gt;&lt;P&gt;Set1/Set2={1,2,5,6}&lt;/P&gt;&lt;P&gt;Like this way you understood?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337939#M494793</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-06T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337940#M494794</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 know meaning of operators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I understood how to define sets:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt; Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that expression I think I define 2 sets and both return 1 and end result is 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; set1 = {1}&lt;/P&gt;&lt;P&gt;set2 = {1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set1-set2 = {1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or havent I understood how to define sets?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337940#M494794</guid>
      <dc:creator>miikkaqlick</dc:creator>
      <dc:date>2012-03-06T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337941#M494795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You mean it return count as 1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337941#M494795</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-06T10:22:13Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337942#M494796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In expression2 - means&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get the records which satisfies this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;$&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;and subtract the records which satisfies the below&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;$&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v_Passive=Jan 2011,v_Passive12=Dec 2011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v_RollingStart=May 2011,v_MonthEnd=Mar 2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then Exclusion operator gives the result for&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan 2011 to April 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337942#M494796</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-06T10:26:02Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337943#M494797</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;Try this expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"} - {"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt;} Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt;} Distinct Customer) -&lt;/P&gt;&lt;P&gt;Count({&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt;} Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337943#M494797</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-03-06T10:26:45Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337944#M494798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know what expression 2 means:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the records which satisfies this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;$&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;and subtract the records which satisfies the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;$&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt;&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;/P&gt;&lt;P&gt;And this doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I make 3 expressions to single table:&lt;/P&gt;&lt;P&gt;1. Count(($&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt;) Distinct Customer)&lt;/P&gt;&lt;P&gt;2. Count(($&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt;) Distinct Customer)&lt;/P&gt;&lt;P&gt;3. &lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;$&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;$&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt;&lt;/P&gt;&lt;P&gt;) Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All three will return 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So first expression will return 1, second will return 1 and third calculates 1-1=1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337944#M494798</guid>
      <dc:creator>miikkaqlick</dc:creator>
      <dc:date>2012-03-06T10:32:41Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337945#M494799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then have you checked with this expressions separately&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Concat({&lt;/P&gt;&lt;P&gt;$&amp;lt;&amp;nbsp; Customer =&lt;/P&gt;&lt;P&gt;P({$&amp;lt;Product={'Things'}, InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}&amp;gt;})&amp;gt;}Distinct Customer ,',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat&lt;/P&gt;&lt;P&gt;({$&amp;lt;Customer =&lt;/P&gt;&lt;P&gt;&amp;nbsp; E({$&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive12)"}&amp;gt;})&amp;gt; }&lt;/P&gt;&lt;P&gt;Distinct Customer,',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will know who all the customers are in common.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337945#M494799</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-06T10:39:13Z</dc:date>
    </item>
    <item>
      <title>Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337946#M494800</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;Your first expression gives same results than mine expressions: all customers who have bought things between Passive24 and passive12 including customers who have bought things in rolling period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your second expression gives allmost correct results. I tried also that before I sended mail to here. Final result from that expression is -25124. Because that is normal minus-operation. First part will return number of customers who have bought things in passive-period (about 250 000) second will return number of customers who have bought things in rolling-period (about 270 000). Calculation goes like this: 250 000 - 270 000 = -20 000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will (hopefully) get right result if I write that second expression like this:&lt;/P&gt;&lt;P&gt;=If(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;InvoicingDate={"&amp;gt;$(=v_Passive24)&amp;lt;=$(=v_Passive12)"}, Product={'Things'}&amp;gt; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt; Distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt; $&amp;lt;InvoicingDate={"&amp;gt;$(=v_RollingStart)&amp;lt;=$(=v_MonthEnd)"}, Product={'Things'}&amp;gt; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Distinct Customer)&amp;gt;0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have to choose straight table and sum of rows as total mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this seems too complicated and I would like to get simple set expression right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 10:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337946#M494800</guid>
      <dc:creator>miikkaqlick</dc:creator>
      <dc:date>2012-03-06T10:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337947#M494801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Celambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If : Set1={1,2,3,4}, Set2={3,4,5,6}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any difference between the results of :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set1/Set2&amp;nbsp; &amp;amp; Set2/Set1 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 09:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337947#M494801</guid>
      <dc:creator />
      <dc:date>2012-11-26T09:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337948#M494802</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;There won't be any difference between these for this set operator both will be same.&lt;/P&gt;&lt;P&gt;Set1/Set2 equals Set2/Set1&lt;/P&gt;&lt;P&gt;Also Set1*Set2 equals Set2*Set1&lt;/P&gt;&lt;P&gt;and Set1+Set2 equals Set2+Set1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the result of - (Exclusion) operator varies.&lt;/P&gt;&lt;P&gt;Set1-Set2 not equals Set2-Set1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 20:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337948#M494802</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-11-29T20:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusion in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337949#M494803</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;thanks for the answer,&lt;/P&gt;&lt;P&gt;So,that means we can generalize and say that&amp;nbsp; &lt;/P&gt;&lt;P&gt;always holds true:&lt;/P&gt;&lt;P&gt;Set1/Set2 equals Set2/Set1&lt;/P&gt;&lt;P&gt;Also Set1*Set2 equals Set2*Set1&lt;/P&gt;&lt;P&gt;and Set1+Set2 equals Set2+Set1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the result of Set1-Set2 depends on the values in Set1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You explained it quite well with the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 21:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclusion-in-Set-Analysis/m-p/337949#M494803</guid>
      <dc:creator />
      <dc:date>2012-11-29T21:22:23Z</dc:date>
    </item>
  </channel>
</rss>

