<?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 Cumulative distinct  customer in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292551#M108541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like limiting the date range in the set analysis, like&lt;/P&gt;&lt;P&gt;count({&amp;lt;Date = {"&amp;lt;=MONTHEND"}&amp;gt;} distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthEnd would need to consider the current dimension value, right? I don't think that's possible with set analysis.&lt;/P&gt;&lt;P&gt;You could create separate expressions per month though, this should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really like to have a QlikView function that allows to retrieve the current dimension value, this should allow us to use total but still have the current dimension value for comparison, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(total distinct if( Date &amp;lt;= GetCurrentDimensionValue( MonthEnd ),Customer )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Dec 2011 14:11:01 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-12-11T14:11:01Z</dc:date>
    <item>
      <title>Cumulative distinct  customer</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292548#M108538</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 have a table of&amp;nbsp; connexion to a web site :&lt;/P&gt;&lt;P&gt;Date ,&amp;nbsp; IdCustomer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a chart by month&amp;nbsp; where&amp;nbsp; I count&amp;nbsp; how many distinct&amp;nbsp; customer I have from the start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in june, I want to know how many&amp;nbsp; distinct customers from the starting month to june&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in july, I want to know how many&amp;nbsp; distinct customers from the starting month to july&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2011 10:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292548#M108538</guid>
      <dc:creator />
      <dc:date>2011-12-11T10:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative distinct  customer</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292549#M108539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jean-Jacques,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at first, I thought that you could do this with a rangesum and above (like you would do for a standard cumulative value), but since you want the count of distinct customers across multiple months, that will not be the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I quite simple solution however might be to create a data island for the MonthEnd (I called it MonthChart) and then do a&lt;/P&gt;&lt;P&gt;=count(distinct (if(Date &amp;lt;= MonthChart,Customer) ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could probably synchronize selections in MonthChart and your master calendar to get the same look and feel when you select on the chart dimension values (or the master calendar Month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2011 12:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292549#M108539</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-11T12:37:25Z</dc:date>
    </item>
    <item>
      <title>Cumulative distinct  customer</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292550#M108540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan.&lt;/P&gt;&lt;P&gt;It works very well. I like this simple solution using a data island. &lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I thought a set analysis was the way. &lt;/P&gt;&lt;P&gt;By the way,&amp;nbsp; do you have a solution&amp;nbsp; with set analysis without creating MonthChart field ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2011 13:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292550#M108540</guid>
      <dc:creator />
      <dc:date>2011-12-11T13:09:55Z</dc:date>
    </item>
    <item>
      <title>Cumulative distinct  customer</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292551#M108541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like limiting the date range in the set analysis, like&lt;/P&gt;&lt;P&gt;count({&amp;lt;Date = {"&amp;lt;=MONTHEND"}&amp;gt;} distinct Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MonthEnd would need to consider the current dimension value, right? I don't think that's possible with set analysis.&lt;/P&gt;&lt;P&gt;You could create separate expressions per month though, this should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really like to have a QlikView function that allows to retrieve the current dimension value, this should allow us to use total but still have the current dimension value for comparison, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(total distinct if( Date &amp;lt;= GetCurrentDimensionValue( MonthEnd ),Customer )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2011 14:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292551#M108541</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-12-11T14:11:01Z</dc:date>
    </item>
    <item>
      <title>Cumulative distinct  customer</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292552#M108542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totally agree with you, we need such function !&lt;/P&gt;&lt;P&gt;see you Stefan&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2011 17:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-distinct-customer/m-p/292552#M108542</guid>
      <dc:creator />
      <dc:date>2011-12-11T17:45:53Z</dc:date>
    </item>
  </channel>
</rss>

