<?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: How to calculate new customers and new products compared to last year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434093#M487683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 19:34:26 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-02-13T19:34:26Z</dc:date>
    <item>
      <title>How to calculate new customers and new products compared to last year</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434092#M487682</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 am a bit stuck trying to calculate new customers this year compared with last year. Hope somebody can help me.&lt;/P&gt;&lt;P&gt;I am working on detailed transaction data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;SalesAmt&lt;/P&gt;&lt;P&gt;ProductId&lt;/P&gt;&lt;P&gt;CustomerId&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to answer the following questions:&lt;/P&gt;&lt;P&gt;1. What customers have I sold to this year (2013) that I did not sell to last year.&lt;/P&gt;&lt;P&gt;2. How many customers have I sold to this year that I did not sell to last year&lt;/P&gt;&lt;P&gt;3. What is the amount I have sold this year to new customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Freddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 19:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434092#M487682</guid>
      <dc:creator />
      <dc:date>2013-02-13T19:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate new customers and new products compared to last year</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434093#M487683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 19:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434093#M487683</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-13T19:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate new customers and new products compared to last year</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434094#M487684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks great, have to figure out if it is the coreect answer for my model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain the syntax a little bit:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum &lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CustomerId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=only(Year))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CustomerId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CustomerId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=only(Year)-1)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CustomerId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SalesAmt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;?? (all customer ID's of selected year , all customers ID's of last year that where not available in selected year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: velthuisf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 21:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434094#M487684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T21:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate new customers and new products compared to last year</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434095#M487685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have a problem with the count of new customers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to make a count of customers with sales&amp;gt;0 in 2013 and with sales &amp;lt;=0 in 2012?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 21:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-new-customers-and-new-products-compared-to-last/m-p/434095#M487685</guid>
      <dc:creator />
      <dc:date>2013-02-13T21:21:49Z</dc:date>
    </item>
  </channel>
</rss>

