<?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: Comparing customers by time since signup in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026563#M346954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax doesn't seem right, can you try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sum({&amp;lt;Date = {"&amp;gt;=$(=FirstSeenDate)&amp;lt;$(=FirstSeenDate+27)"}&amp;gt;} Documents)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;Date = {"&amp;gt;=$(=FirstSeenDate+27)&amp;lt;$(=FirstSeenDate+54)"}&amp;gt;} Documents)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sum({&amp;lt;Date = {"&amp;gt;=$(=FirstSeenDate+54)&amp;lt;$(=FirstSeenDate+81)"}&amp;gt;} Documents)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 15:52:13 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-27T15:52:13Z</dc:date>
    <item>
      <title>Comparing customers by time since signup</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026562#M346953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to create a kind of cohort analysis where I try to analyse how customers develop from their signup time. I have the following information for every day and customer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, CustomerID, Documents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each CustomerID I know their FirstSeenDate ( gathered during load by doing a min(Date) group by CustomerID ) and I have it stored in a separate table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've now created a chart table with CustomerID as the dimension and three expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Growth during first 4 weeks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;Date = {$&amp;gt;=FirstSeenDate $&amp;lt;(FirstSeenDate+27)}&amp;gt;} Documents)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Growth during second 4 weeks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Date = {$&amp;gt;=FirstSeenDate+27 $&amp;lt;(FirstSeenDate+54)}&amp;gt;} Documents)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Growth during third 4 weeks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Date = {$&amp;gt;=FirstSeenDate+54 $&amp;lt;(FirstSeenDate+81)}&amp;gt;} Documents)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply put, this doesn't work. I end up with 0 in the columns and I cannot understand why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 05:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026562#M346953</guid>
      <dc:creator />
      <dc:date>2016-04-27T05:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing customers by time since signup</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026563#M346954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syntax doesn't seem right, can you try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sum({&amp;lt;Date = {"&amp;gt;=$(=FirstSeenDate)&amp;lt;$(=FirstSeenDate+27)"}&amp;gt;} Documents)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;Date = {"&amp;gt;=$(=FirstSeenDate+27)&amp;lt;$(=FirstSeenDate+54)"}&amp;gt;} Documents)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sum({&amp;lt;Date = {"&amp;gt;=$(=FirstSeenDate+54)&amp;lt;$(=FirstSeenDate+81)"}&amp;gt;} Documents)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026563#M346954</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-27T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing customers by time since signup</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026564#M346955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, this doesn't help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attaching a qvw that demonstrates the problem together with a possible solution I've come up with using a calculated dimension of =Date - FirstSeenDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 03:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026564#M346955</guid>
      <dc:creator />
      <dc:date>2016-04-28T03:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing customers by time since signup</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026565#M346956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way your data is structured, data coming from different tables, set analysis is not going to work. Try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;Sum(If(Date &amp;gt;= FirstSeenDate and Date &amp;lt; FirstSeenDate + 27, Documents))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;Sum(If(Date &amp;gt;= FirstSeenDate + 27 and Date &amp;lt; FirstSeenDate + 54, Documents))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3) &lt;STRONG&gt;Sum(If(Date &amp;gt;= FirstSeenDate + 54 and Date &amp;lt; FirstSeenDate + 81, Documents))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122950_Capture.PNG" style="height: 112px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 09:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026565#M346956</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-28T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing customers by time since signup</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026566#M346957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this explains my problems and solves them at the same time &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 06:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-customers-by-time-since-signup/m-p/1026566#M346957</guid>
      <dc:creator />
      <dc:date>2016-04-29T06:42:35Z</dc:date>
    </item>
  </channel>
</rss>

