<?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 Count Distinct Customer per day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182638#M48198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one problem... I need to do this (new customer per day, in one week) by Supervisor, Salesman etc... so my script will be to slow... can I do it using Set Analysis?&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Mar 2010 05:04:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-19T05:04:16Z</dc:date>
    <item>
      <title>Count Distinct Customer per day</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182635#M48195</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;I need to count the distinct customer per day, but only new clients on day/week.&lt;/P&gt;&lt;P&gt;For example, if the customer appears on first day of the week, he will only count in this day... if i sell to 10 customers on monday and 8 on tuesday (but 3 of then also buy on monday), i need to show only 5 on Tuesday, in one Pivot Table.&lt;/P&gt;&lt;P&gt;I'm trying to use Set Analysis.&lt;/P&gt;&lt;P&gt;Thank you very much&lt;BR /&gt;Scatamachia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 18:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182635#M48195</guid>
      <dc:creator />
      <dc:date>2010-03-16T18:10:06Z</dc:date>
    </item>
    <item>
      <title>Count Distinct Customer per day</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182636#M48196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;I would create a flag in the script that indicates that a given transaction is the first transaction ever made by this user and then use this flag in the expression. See attached an example that may give you some ideas&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 19:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182636#M48196</guid>
      <dc:creator />
      <dc:date>2010-03-16T19:56:27Z</dc:date>
    </item>
    <item>
      <title>Count Distinct Customer per day</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182637#M48197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Karol... I'll try this... great solution...&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 22:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182637#M48197</guid>
      <dc:creator />
      <dc:date>2010-03-16T22:40:54Z</dc:date>
    </item>
    <item>
      <title>Count Distinct Customer per day</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182638#M48198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one problem... I need to do this (new customer per day, in one week) by Supervisor, Salesman etc... so my script will be to slow... can I do it using Set Analysis?&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 05:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182638#M48198</guid>
      <dc:creator />
      <dc:date>2010-03-19T05:04:16Z</dc:date>
    </item>
    <item>
      <title>Count Distinct Customer per day</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182639#M48199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look once again at the example that I attached. You have a date field there. Create new fields like week, day, month. year, and the code that creates a new cust flag will work for those fileds too! You will be able to see new customers not only per date by also per week, per month etc&lt;/P&gt;&lt;P&gt;If I had more information associated to my simple transaction table, like supervisor name, I would be able to calculate new customers per any lookup table associated with transaction. I would be able not to say not only how many new customers I had in a given week but also break it down by supervisor.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Mar 2010 22:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182639#M48199</guid>
      <dc:creator />
      <dc:date>2010-03-22T22:34:42Z</dc:date>
    </item>
    <item>
      <title>Count Distinct Customer per day</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182640#M48200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karol.&lt;/P&gt;&lt;P&gt;My problem is that one customer can appear in more than one supervisor, in same week. In this case, this customer needs to count s new customer in both supervisors.&lt;/P&gt;&lt;P&gt;I'll try. One more time, thank you very much for your help.&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 15:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-per-day/m-p/182640#M48200</guid>
      <dc:creator />
      <dc:date>2010-03-23T15:45:45Z</dc:date>
    </item>
  </channel>
</rss>

