<?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: Using E() in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549114#M205116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, that's exactly what my previous post tries to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the "P( { 1 }&amp;nbsp; sk_customer)" you get all the customers that exist in your app.&lt;/P&gt;&lt;P&gt;With the "P(&amp;nbsp; sk_customer)" you get all the customers that exist in your app or in the current selections set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you subtract the second from the first you should get those customers that don't exist in your current selections set. However if you have no selections you'll get all customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( { $&amp;lt;sk_customer = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;P( { 1 } &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sk_customer&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;- P ( sk_customer ) &amp;gt;}&amp;nbsp; sk_customer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Depending on your data model, it may be necessary to add the DISTINCT qualifier in order to count distinct customers:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( { $&amp;lt;sk_customer = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;P( { 1 } &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sk_customer&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;- P ( sk_customer ) &amp;gt;}&amp;nbsp; DISTINCT sk_customer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;EDIT:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If you want to be able to filter the customers regarding all other filters, for example to also filter those customers that are not related to a payment date but that are related to a product, then.. instead of using the " {1} " you should disregard the time dimensions that are available for users to do selections:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( { $&amp;lt;sk_customer = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;P( { $&amp;lt; &lt;/SPAN&gt;&lt;/SPAN&gt;PAYMENTDATE=, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TimeDim2=, TimeDim3=&amp;gt; } &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sk_customer&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;- P ( sk_customer ) &amp;gt;}&amp;nbsp; DISTINCT sk_customer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 16:05:38 GMT</pubDate>
    <dc:creator>Carlos_Reyes</dc:creator>
    <dc:date>2013-09-20T16:05:38Z</dc:date>
    <item>
      <title>Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549105#M205107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, If you have experience applying indirect Set Analysis please read. I have found a lot of material on Set Analysis but not on Indirect Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My case:&lt;/P&gt;&lt;P&gt;I want to create a SET consisting of all customers for the CURRENT SELECT that dont exists for currently selected PaymentDate using E(). I manage to create a SET of the customers that belong to currently selected PaymentDate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;sk_customer = p({$&amp;lt;PaymentDate&amp;gt;} sk_customer)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would assume the inverted would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1&amp;lt;sk_customer = E({$&amp;lt;PaymentDate&amp;gt;} sk_customer)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this do not give me any results. Any advice are welcome or where I can find more information on indirect SET analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;br Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 12:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549105#M205107</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2013-09-20T12:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549106#M205108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe what is causing the problem is the "1" set at the start of your expression. Have you considered simply writing the following:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;PaymentDate=E(PaymentDate)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 13:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549106#M205108</guid>
      <dc:creator>pgrenier</dc:creator>
      <dc:date>2013-09-20T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549107#M205109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philippe, Thanks for your reply. Unfortunally some sk_customer's dont have a PaymentDate at all. I have a lot of customers that dont have any transaction at all in the PaymentTable - I need them to be included in the SET as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manage to get the correct set by using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1-$&amp;lt;sk_customer = P({$&amp;lt;PaymentDate&amp;gt;}sk_customer)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this solution dont work since selections in other fields also will be "negated" (because of 1-$). So, as i understand it, I need to solve it using E().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to define this SET using E():?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1-$&amp;lt;sk_customer = P({$&amp;lt;PaymentDate&amp;gt;}sk_customer)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 14:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549107#M205109</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2013-09-20T14:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549108#M205110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the exclusion function will return all existing PaymentDates that are excluded by your current selection, but will not cover inexistent entries (customers without any defined payment dates).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to consider defining expected payment dates in the future for those customers during the data load process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549108#M205110</guid>
      <dc:creator>pgrenier</dc:creator>
      <dc:date>2013-09-20T15:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549109#M205111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunally not, a lot of customers simply dont have any payment transactions and will never have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Do you think its possible to rewrite the following using E()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({1-$&amp;lt;sk_customer = P({&amp;lt;PaymentDate&amp;gt;}sk_customer)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; br&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549109#M205111</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2013-09-20T15:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549110#M205112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this will get what you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( { $&amp;lt;sk_customer = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;P( { 1 } &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sk_customer&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;- P ( sk_customer ) &amp;gt;}&amp;nbsp; sk_customer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549110#M205112</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2013-09-20T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549111#M205113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({1} DISTINCT sk_customer)-Count(DISTINCT sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically count all customers, regardless of the current selection criteria, and substract the number of customers currently selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549111#M205113</guid>
      <dc:creator>pgrenier</dc:creator>
      <dc:date>2013-09-20T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549112#M205114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos, thanks for replying. But i dont really understand your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to select the ALL sk_customers that dont have any PAYMENTDATE. I assume i need to do a indirect set analsysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brPaul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549112#M205114</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2013-09-20T15:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549113#M205115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Philippe, thanks! However, this set "inverts" ALL my selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I only want this for sk_customers for selected PaymentDates - Thats why i think i need a indirect Set analsysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conceptually the case is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able do different selections in fields and my data shall shrinks as normal. But for my selections in PaymentDate i want the customers that are NOT associated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; br Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 16:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549113#M205115</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2013-09-20T16:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549114#M205116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, that's exactly what my previous post tries to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the "P( { 1 }&amp;nbsp; sk_customer)" you get all the customers that exist in your app.&lt;/P&gt;&lt;P&gt;With the "P(&amp;nbsp; sk_customer)" you get all the customers that exist in your app or in the current selections set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you subtract the second from the first you should get those customers that don't exist in your current selections set. However if you have no selections you'll get all customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( { $&amp;lt;sk_customer = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;P( { 1 } &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sk_customer&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;- P ( sk_customer ) &amp;gt;}&amp;nbsp; sk_customer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Depending on your data model, it may be necessary to add the DISTINCT qualifier in order to count distinct customers:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( { $&amp;lt;sk_customer = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;P( { 1 } &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sk_customer&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;- P ( sk_customer ) &amp;gt;}&amp;nbsp; DISTINCT sk_customer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;EDIT:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If you want to be able to filter the customers regarding all other filters, for example to also filter those customers that are not related to a payment date but that are related to a product, then.. instead of using the " {1} " you should disregard the time dimensions that are available for users to do selections:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( { $&amp;lt;sk_customer = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;P( { $&amp;lt; &lt;/SPAN&gt;&lt;/SPAN&gt;PAYMENTDATE=, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TimeDim2=, TimeDim3=&amp;gt; } &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sk_customer&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;- P ( sk_customer ) &amp;gt;}&amp;nbsp; DISTINCT sk_customer )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 16:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549114#M205116</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2013-09-20T16:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549115#M205117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;sk_customer = E({&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;PaymentDate&amp;gt;} sk_customer)&amp;gt;} sk_customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 18:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549115#M205117</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-20T18:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549116#M205118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you resolve that in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a table with all clients ID, join their &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;PAYMENTDATE or all the info of the fact table&lt;/SPAN&gt; and create a new FLAG:&lt;/P&gt;&lt;P&gt;If( isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;PAYMENTDATE)&lt;/SPAN&gt;,&amp;nbsp; 0,1) as Payment, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use the flag in your expression, I think I would do that but I don't know your data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 18:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549116#M205118</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2013-09-20T18:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549117#M205119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all the feedback!&amp;nbsp; Its&amp;nbsp; much appreciated &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;Ive decided to proceed with changing the DataModel. Now exclusion of PaymentDates includes all Customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, i have one last thing that i dont manage to solve. I think its easy for Set analysis developers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have two exclusion SET statements that works one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;PaymentDate=E(PaymentDate)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;Count({&amp;lt;PaymentType=E(PaymentType)&amp;gt;} sk_customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont manage to merge them to one set though. As I understand it this can be done with a intersection operator (*).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 21:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549117#M205119</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2013-09-20T21:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549118#M205120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tresesco, unfortunally, this statement does not return anything. br PAul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 21:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549118#M205120</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2013-09-20T21:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using E() in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549119#M205121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, what are you trying to accomplish with those two sets?&lt;/P&gt;&lt;P&gt;Now there is a new field : PaymentType&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get those customer that are excluded by your PaymentDate and PaymentType selections, then you should use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;PaymentDate=E(PaymentDate), PaymentType=E(PaymentType)&amp;gt;} sk_customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 22:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-E-in-Set-Analysis/m-p/549119#M205121</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2013-09-20T22:08:00Z</dc:date>
    </item>
  </channel>
</rss>

