<?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: Get new customers orders movement  based on  join date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1526890#M37869</link>
    <description>&lt;P&gt;I've made a temporary script for you to point you to the right direction.&lt;BR /&gt;In script there should be something like this:&lt;/P&gt;&lt;PRE&gt;ClientsFirstSale:
LOAD
 	ClientID,
//    Year(MinDate) as ClientFirstSaleYear,
//    Month(MinDate) as ClientFirstSaleMonth,
//    Date(MinDate, 'DD.MM.YYYY') as  ClientFirstSaleDate,
	text(Date(MinDate,'YY')) &amp;amp; 'M' &amp;amp; text(Date(MinDate,'MM')) as FirstSale_YearMonth,
	floor((Today()-MinDate)/30) as FirstSalesAgeInMonths
;
LOAD
	ClientID,
	min(Date) as MinDate
FROM [lib://path/Facts.qvd](qvd)
group by ClientID;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Y dimension should be FirstSale_YearMonth&lt;BR /&gt;X dimesnion should be ='JY +' &amp;amp; FirstSalesAgeInMonths&lt;BR /&gt;Measure should be count(distinct ClientID)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2019 09:30:12 GMT</pubDate>
    <dc:creator>Kalmer</dc:creator>
    <dc:date>2019-01-07T09:30:12Z</dc:date>
    <item>
      <title>Get new customers orders movement  based on  join date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1526817#M37866</link>
      <description>&lt;P&gt;Hi Qlik Community,&lt;/P&gt;&lt;P&gt;I would like to&amp;nbsp; know how am I able to&amp;nbsp;track order movement of&amp;nbsp;&amp;nbsp;new customer&amp;nbsp; based on customer join date across different&amp;nbsp;time interval, new customer is flag as '1':&lt;/P&gt;&lt;P&gt;1) Join Year Month: +1 month&amp;nbsp; (i.e. JY +1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Join&amp;nbsp;Year Month: +2 month&amp;nbsp;(i.e. JY +2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) Join&amp;nbsp;Year Month:+3&amp;nbsp;month&amp;nbsp;(i.e. JY +3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) Join&amp;nbsp;Year Month: +4&amp;nbsp;month&amp;nbsp;(i.e. JY +3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5) Join&amp;nbsp;Year Month: +5&amp;nbsp;month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Refer to screenshot as per below:&lt;/STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Qlik refence.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3136i435AC3D40FDF1EE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik refence.JPG" alt="Qlik refence.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;Note: I had tried As-Of&amp;nbsp; function, &lt;/FONT&gt;Aggregation (Range sum)&lt;FONT face="inherit"&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&amp;nbsp; created&amp;nbsp; dates range variable however unable to get new customer order movement.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;Looking for&amp;nbsp; potential solution to resolve this problem.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;Thanks in advance!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1526817#M37866</guid>
      <dc:creator>syazwani91</dc:creator>
      <dc:date>2024-11-16T06:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get new customers orders movement  based on  join date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1526890#M37869</link>
      <description>&lt;P&gt;I've made a temporary script for you to point you to the right direction.&lt;BR /&gt;In script there should be something like this:&lt;/P&gt;&lt;PRE&gt;ClientsFirstSale:
LOAD
 	ClientID,
//    Year(MinDate) as ClientFirstSaleYear,
//    Month(MinDate) as ClientFirstSaleMonth,
//    Date(MinDate, 'DD.MM.YYYY') as  ClientFirstSaleDate,
	text(Date(MinDate,'YY')) &amp;amp; 'M' &amp;amp; text(Date(MinDate,'MM')) as FirstSale_YearMonth,
	floor((Today()-MinDate)/30) as FirstSalesAgeInMonths
;
LOAD
	ClientID,
	min(Date) as MinDate
FROM [lib://path/Facts.qvd](qvd)
group by ClientID;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Y dimension should be FirstSale_YearMonth&lt;BR /&gt;X dimesnion should be ='JY +' &amp;amp; FirstSalesAgeInMonths&lt;BR /&gt;Measure should be count(distinct ClientID)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1526890#M37869</guid>
      <dc:creator>Kalmer</dc:creator>
      <dc:date>2019-01-07T09:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get new customers orders movement  based on  join date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1526901#M37872</link>
      <description>&lt;P&gt;Or do it on Facts table:&lt;/P&gt;&lt;PRE&gt;ClientsFirstSale:&lt;BR /&gt;LOAD&lt;BR /&gt; ClientID,&lt;BR /&gt;// Year(MinDate) as ClientFirstSaleYear,&lt;BR /&gt;// Month(MinDate) as ClientFirstSaleMonth,&lt;BR /&gt; Date(MinDate, 'DD.MM.YYYY') as ClientFirstSaleDate,&lt;BR /&gt; text(Date(MinDate,'YY')) &amp;amp; 'M' &amp;amp; text(Date(MinDate,'MM')) as FirstSale_YearMonth,&lt;BR /&gt; floor((Today()-MinDate)/30) as FirstSalesAgeInMonths&lt;BR /&gt;;&lt;BR /&gt;LOAD&lt;BR /&gt; ClientID,&lt;BR /&gt; min(TransactionDate) as MinDate&lt;BR /&gt;FROM [lib://path/Facts.qvd](qvd)&lt;BR /&gt;group by ClientID;&lt;BR /&gt;&lt;BR /&gt;MAP_FirstSaleDate:&lt;BR /&gt;Mapping load distinct&lt;BR /&gt; ClientID,&lt;BR /&gt; ClientFirstSaleDate&lt;BR /&gt;Resident ClientsFirstSale;&lt;BR /&gt;&lt;BR /&gt;Facts:&lt;BR /&gt;Load&lt;BR /&gt; *,&lt;BR /&gt; round(interval(Applymap('MAP_FirstSaleDate', ClientID, null()) - TransactionDate, 'D')/-30) as PeriodFromFirstBuy&lt;BR /&gt;;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Y dimension should be FirstSale_YearMonth&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;X dimesnion should be ='JY +' &amp;amp; PeriodFromFirstBuy+1&amp;nbsp; &amp;nbsp; - i added the +1 since it starts from 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Measure should be count(distinct ClientID)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 09:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1526901#M37872</guid>
      <dc:creator>Kalmer</dc:creator>
      <dc:date>2019-01-07T09:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get new customers orders movement  based on  join date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1528804#M38007</link>
      <description>&lt;P&gt;Hi Kalmer,&lt;/P&gt;&lt;P&gt;Thank you for your quick response!&lt;/P&gt;&lt;P&gt;To&amp;nbsp;clarify&amp;nbsp; further if I&amp;nbsp; would like&amp;nbsp;to get&amp;nbsp; total numbers of orders( i.e. say +2 months since join) made by New&amp;nbsp;customer&amp;nbsp;whom join in e.g. 18M01?&lt;/P&gt;&lt;P&gt;My objective: To tracked the movement of orders made by respective &lt;U&gt;"New customers" join group year month&lt;/U&gt; &amp;amp; see how these customer orders had evolve since the&amp;nbsp;YearMonth/ period that&amp;nbsp;they join.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 08:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1528804#M38007</guid>
      <dc:creator>syazwani91</dc:creator>
      <dc:date>2019-01-10T08:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get new customers orders movement  based on  join date</title>
      <link>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1528805#M38008</link>
      <description>&lt;P&gt;Hi Kalmer,&lt;/P&gt;&lt;P&gt;Thank you for your quick response!&lt;/P&gt;&lt;P&gt;To&amp;nbsp;clarify&amp;nbsp; further if I&amp;nbsp; would like&amp;nbsp;to get&amp;nbsp; total numbers of orders( i.e. say +2 months since join) made by New&amp;nbsp;customer&amp;nbsp;whom join in e.g. 18M01?&lt;/P&gt;&lt;P&gt;My objective: To tracked the movement of orders made by respective&lt;STRONG&gt; &lt;U&gt;New customers join group year month&lt;/U&gt;&lt;/STRONG&gt; &amp;amp; see how these customer orders had evolve since the&amp;nbsp;YearMonth/ period that&amp;nbsp;they join.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 08:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-new-customers-orders-movement-based-on-join-date/m-p/1528805#M38008</guid>
      <dc:creator>syazwani91</dc:creator>
      <dc:date>2019-01-10T08:52:47Z</dc:date>
    </item>
  </channel>
</rss>

