<?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: yearly new customers count and details in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944427#M969288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD * Inline&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;[&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; FiscalYear,customer,Sales&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,e,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,w,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,s,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,p,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,z,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,d,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,e,0&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,y,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,v,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,k,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,e,0&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,x,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,d,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,m,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,w,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,d,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,e,0&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,v,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Data)&lt;/P&gt;&lt;P&gt;Load FiscalYear,customer,SUM(Sales) as TotalSales &lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Group By FiscalYear,customer;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Left Join&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load FiscalYear,customer, If(customer = Peek(customer) , 0,1) as Flag Resident Data&amp;nbsp; &lt;/P&gt;&lt;P&gt;Where TotalSales &amp;gt; 0&lt;/P&gt;&lt;P&gt;Order By customer, FiscalYear;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Sep 2015 14:29:59 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-09-26T14:29:59Z</dc:date>
    <item>
      <title>yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944421#M969282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I have attached the sample file. in that I need to show the count of new customers have done a sales on year basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have mentioned detail requirement in file itself,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer done sales in 2015 and not done in 2014 or below then he is new customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 08:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944421#M969282</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2015-09-26T08:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944422#M969283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14432619341043272" jivemacro_uid="_14432619341043272"&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD * Inline &lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FiscalYear,customer,Sales&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2015,e,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2015,b,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2015,w,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2015,s,20&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2015,p,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2015,z,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2014,a,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2014,b,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2014,c,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2014,d,20&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2014,e,0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2014,y,10,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2013,a,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2013,v,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2013,c,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2013,k,20&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2013,e,0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2013,x,10,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2012,a,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2012,b,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2012,c,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2012,d,20&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2012,m,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2012,w,10,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2011,a,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2011,b,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2011,c,5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2011,d,20&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2011,e,0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 2011,v,10,&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join &lt;/P&gt;
&lt;P&gt;Load FiscalYear,customer, If(customer = Peek(customer), 0,1) as Flag Resident Data&lt;/P&gt;
&lt;P&gt;Order By customer, FiscalYear;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a Chart&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;FiscalYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM(Flag)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 10:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944422#M969283</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-09-26T10:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944423#M969284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for 2014 count is only 1. but getting output as 2.. and the logic should compare with the sales=0, we should exclude that..&amp;nbsp; for ex. in above script the customer 'e' have 0 sales in all years except the year 2015. so customer 'e' a new cust in 2015. and even in 2011 he is not a new cust.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 12:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944423#M969284</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2015-09-26T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944424#M969285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will ''firstSortValue" function helps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 12:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944424#M969285</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2015-09-26T12:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944425#M969286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2014 count should be 2. Please check once&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 12:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944425#M969286</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2015-09-26T12:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944426#M969287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't get 2 new customer for 2014, only 1. Which two customers do you see flagged?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to remove zero sales values, just filter the input table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Left Join&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load FiscalYear,customer, If(customer = Peek(customer), 0,1) as Flag Resident Data&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Sales &amp;gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Order By customer, FiscalYear;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 13:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944426#M969287</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-26T13:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944427#M969288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD * Inline&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;[&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; FiscalYear,customer,Sales&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,e,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,w,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,s,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,p,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2015,z,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,d,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,e,0&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014,y,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,v,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,k,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,e,0&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2013,x,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,d,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,m,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2012,w,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,a,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,b,10&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,c,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,d,20&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,e,0&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; 2011,v,10,&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Data)&lt;/P&gt;&lt;P&gt;Load FiscalYear,customer,SUM(Sales) as TotalSales &lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Group By FiscalYear,customer;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Left Join&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load FiscalYear,customer, If(customer = Peek(customer) , 0,1) as Flag Resident Data&amp;nbsp; &lt;/P&gt;&lt;P&gt;Where TotalSales &amp;gt; 0&lt;/P&gt;&lt;P&gt;Order By customer, FiscalYear;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 14:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944427#M969288</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-09-26T14:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944428#M969289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&amp;nbsp; I am seeing 2 counts flagged for 2014.&lt;/P&gt;&lt;P&gt;2. is the logic comparing with all below years when finding the new customers in current year. for each year it should compare with all below years of the year to which you are finding new customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help swehl and Manish..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2015 18:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944428#M969289</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2015-09-27T18:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944429#M969290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/100173_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2015 18:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944429#M969290</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2015-09-27T18:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: yearly new customers count and details</title>
      <link>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944430#M969291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you upload your latest sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Sep 2015 20:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/yearly-new-customers-count-and-details/m-p/944430#M969291</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-27T20:08:22Z</dc:date>
    </item>
  </channel>
</rss>

