<?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 3 months repeating customers in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/3-months-repeating-customers/m-p/1126521#M19656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can some please help me do this in qlik, in a simpler form..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this code which basically checks if a customer did a transaction for 3 straight month..&lt;/P&gt;&lt;P&gt;I just need a count of 3 months recurring customers.&lt;/P&gt;&lt;P&gt;Here is the sql code for it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;C.CUSTOMER,&lt;/P&gt;&lt;P&gt;CASE WHEN D.CUSTOMER IS NOT NULL AND E.CUSTOMER IS NOT NULL THEN 'YES' ELSE 'NO' END REPEAT_CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;DISTINCT CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;NOTIFICATION A,&lt;/P&gt;&lt;P&gt;NOTIFICATION_TYPE B&lt;/P&gt;&lt;P&gt;WHERE A.NOTIFICATION_TYPE_ID = B.ID&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;gt;= '5/1/2016'&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;lt; '5/31/2016'&lt;/P&gt;&lt;P&gt;) C&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;DISTINCT CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;NOTIFICATION A,&lt;/P&gt;&lt;P&gt;NOTIFICATION_TYPE B&lt;/P&gt;&lt;P&gt;WHERE A.NOTIFICATION_TYPE_ID = B.ID&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;gt;= '4/1/2016'&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;lt; '4/30/2016'&lt;/P&gt;&lt;P&gt;) D&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;DISTINCT CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;NOTIFICATION A,&lt;/P&gt;&lt;P&gt;NOTIFICATION_TYPE B&lt;/P&gt;&lt;P&gt;WHERE A.NOTIFICATION_TYPE_ID = B.ID&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;gt;= '3/1/2016'&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;lt; '3/31/2016'&lt;/P&gt;&lt;P&gt;) E&lt;/P&gt;&lt;P&gt;WHERE C.CUSTOMER = D.CUSTOMER &lt;/P&gt;&lt;P&gt;AND C.CUSTOMER = E.CUSTOMER &lt;/P&gt;&lt;P&gt;ORDER BY 2 DESC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2016 16:23:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-17T16:23:13Z</dc:date>
    <item>
      <title>3 months repeating customers</title>
      <link>https://community.qlik.com/t5/App-Development/3-months-repeating-customers/m-p/1126521#M19656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can some please help me do this in qlik, in a simpler form..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this code which basically checks if a customer did a transaction for 3 straight month..&lt;/P&gt;&lt;P&gt;I just need a count of 3 months recurring customers.&lt;/P&gt;&lt;P&gt;Here is the sql code for it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;C.CUSTOMER,&lt;/P&gt;&lt;P&gt;CASE WHEN D.CUSTOMER IS NOT NULL AND E.CUSTOMER IS NOT NULL THEN 'YES' ELSE 'NO' END REPEAT_CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;DISTINCT CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;NOTIFICATION A,&lt;/P&gt;&lt;P&gt;NOTIFICATION_TYPE B&lt;/P&gt;&lt;P&gt;WHERE A.NOTIFICATION_TYPE_ID = B.ID&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;gt;= '5/1/2016'&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;lt; '5/31/2016'&lt;/P&gt;&lt;P&gt;) C&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;DISTINCT CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;NOTIFICATION A,&lt;/P&gt;&lt;P&gt;NOTIFICATION_TYPE B&lt;/P&gt;&lt;P&gt;WHERE A.NOTIFICATION_TYPE_ID = B.ID&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;gt;= '4/1/2016'&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;lt; '4/30/2016'&lt;/P&gt;&lt;P&gt;) D&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;DISTINCT CUSTOMER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;NOTIFICATION A,&lt;/P&gt;&lt;P&gt;NOTIFICATION_TYPE B&lt;/P&gt;&lt;P&gt;WHERE A.NOTIFICATION_TYPE_ID = B.ID&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;gt;= '3/1/2016'&lt;/P&gt;&lt;P&gt;AND TRUNC(INSERT_DATE) &amp;lt; '3/31/2016'&lt;/P&gt;&lt;P&gt;) E&lt;/P&gt;&lt;P&gt;WHERE C.CUSTOMER = D.CUSTOMER &lt;/P&gt;&lt;P&gt;AND C.CUSTOMER = E.CUSTOMER &lt;/P&gt;&lt;P&gt;ORDER BY 2 DESC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 16:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/3-months-repeating-customers/m-p/1126521#M19656</guid>
      <dc:creator />
      <dc:date>2016-08-17T16:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: 3 months repeating customers</title>
      <link>https://community.qlik.com/t5/App-Development/3-months-repeating-customers/m-p/1126522#M19657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what the requirement is? Are you looking to create a QlikView script that would allow to do the count on the front end of the application? Can you may be elaborate a little on the need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 21:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/3-months-repeating-customers/m-p/1126522#M19657</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-17T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: 3 months repeating customers</title>
      <link>https://community.qlik.com/t5/App-Development/3-months-repeating-customers/m-p/1126523#M19658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the Customer field and the Insert_Date field in the front end to calculate the number of recurring customer for 3 months. I do not want to use the code i provided in the back end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to&lt;/P&gt;&lt;P&gt;LOAD Customer , Insert_Date&lt;/P&gt;&lt;P&gt;FROM Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and be able to calculate on front end the last 30 days recurring customers. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 21:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/3-months-repeating-customers/m-p/1126523#M19658</guid>
      <dc:creator />
      <dc:date>2016-08-17T21:52:59Z</dc:date>
    </item>
  </channel>
</rss>

