<?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 Customer retention in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Customer-retention/m-p/327603#M497748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe something like this:&lt;/P&gt;&lt;P&gt;= count( if( session_date &amp;gt;= account_created_date and session_date &amp;lt;= account_created_date+14, session_date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to count all session dates within the first 14 days (replace 14 by 30/60 to retrieve the other buckets then).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table with dimension customer_id, then use above expression(s). Your sessions should already be correctly linked to the customer via customer_id. session_date and account_created_date must also be recognized as Date type by QlikView, please have a look into date format and Date() and Date#() functions for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this answer your question? I assumed you already loaded the tables into QlikView and the tables are linked together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 23:43:59 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-09-06T23:43:59Z</dc:date>
    <item>
      <title>Customer retention</title>
      <link>https://community.qlik.com/t5/QlikView/Customer-retention/m-p/327602#M497746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QlikView community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a task that I don’t quite know how to approach. Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two tables to work with. First is the customer information with relevant fields being customer ID (customer_id) and account creation date (account_created_date). The second table stores customer sessions, i.e. customer visits to the system. Fields we need here are customer_id and session_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The task is to figure out customer retention. Specifically, for each customer I have to calculate number of days in which he/she had a session within first 14/30/60 days after account creation. I know how to then aggregate this information, what I don’t know is how to obtain it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 18:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customer-retention/m-p/327602#M497746</guid>
      <dc:creator>boris_nechaev</dc:creator>
      <dc:date>2011-09-06T18:28:09Z</dc:date>
    </item>
    <item>
      <title>Customer retention</title>
      <link>https://community.qlik.com/t5/QlikView/Customer-retention/m-p/327603#M497748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe something like this:&lt;/P&gt;&lt;P&gt;= count( if( session_date &amp;gt;= account_created_date and session_date &amp;lt;= account_created_date+14, session_date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to count all session dates within the first 14 days (replace 14 by 30/60 to retrieve the other buckets then).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table with dimension customer_id, then use above expression(s). Your sessions should already be correctly linked to the customer via customer_id. session_date and account_created_date must also be recognized as Date type by QlikView, please have a look into date format and Date() and Date#() functions for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this answer your question? I assumed you already loaded the tables into QlikView and the tables are linked together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 23:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customer-retention/m-p/327603#M497748</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-06T23:43:59Z</dc:date>
    </item>
  </channel>
</rss>

