<?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: customer count, new,lost, total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549666#M205307</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;Please find attached file for solution.&amp;nbsp; Calculated Total and Lost customer in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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>Mon, 14 Oct 2013 03:10:33 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-10-14T03:10:33Z</dc:date>
    <item>
      <title>customer count, new,lost, total</title>
      <link>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549664#M205305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following logic to calculate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lost Customer - hasn't bought anything the last two years&lt;/P&gt;&lt;P&gt;New Customer - bought something this year, but nothing the last two years&lt;/P&gt;&lt;P&gt;Total Customers - everyone who has bought something this year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have attached my model to this post. &lt;/P&gt;&lt;P&gt;i worked out how to calculate New Customer , however am really battling with the other two lost customer and Total customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2013 21:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549664#M205305</guid>
      <dc:creator />
      <dc:date>2013-10-13T21:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: customer count, new,lost, total</title>
      <link>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549665#M205306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&amp;nbsp; =if(Count(Year(Year) = 2013),sum(amt))&amp;nbsp; I hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2013 22:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549665#M205306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-13T22:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: customer count, new,lost, total</title>
      <link>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549666#M205307</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;Please find attached file for solution.&amp;nbsp; Calculated Total and Lost customer in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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>Mon, 14 Oct 2013 03:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549666#M205307</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-14T03:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: customer count, new,lost, total</title>
      <link>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549667#M205308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Total Customers can be done by :&lt;/P&gt;&lt;P&gt;Count(DISTINCT {&amp;lt;Year={2013}&amp;gt;} customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 09:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549667#M205308</guid>
      <dc:creator />
      <dc:date>2013-10-14T09:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: customer count, new,lost, total</title>
      <link>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549668#M205309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;New customer can be done by :&lt;/P&gt;&lt;P&gt;= count({&amp;lt;Year=-{2012,2011}&amp;gt;} distinct customer)&lt;/P&gt;&lt;P&gt;Total customer :&lt;/P&gt;&lt;P&gt;= count&amp;nbsp; (distinct customer)&lt;/P&gt;&lt;P&gt;Lost customer:&lt;/P&gt;&lt;P&gt;= count({&amp;lt;Year=-{2012,2013}&amp;gt;} distinct customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 09:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/customer-count-new-lost-total/m-p/549668#M205309</guid>
      <dc:creator />
      <dc:date>2013-10-14T09:59:55Z</dc:date>
    </item>
  </channel>
</rss>

