<?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 About retention rate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232948#M502214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;Thanks for noting. I've deleted the link and added it again and it seems it's working now. Your solution may be easier, as I'm suggesting to create that field in the script.&lt;/P&gt;&lt;P&gt;Thanks again and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Dec 2010 10:44:23 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-12-27T10:44:23Z</dc:date>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232944#M502210</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;I was wondering how to calculate retention rate:&lt;/P&gt;&lt;P&gt;I load the raw data into QV:&lt;/P&gt;&lt;P&gt;OrderId MemberId Amount&lt;/P&gt;&lt;P&gt;1 1 $30&lt;/P&gt;&lt;P&gt;2 1 $35&lt;/P&gt;&lt;P&gt;3 2 $30&lt;/P&gt;&lt;P&gt;4 2 $30&lt;/P&gt;&lt;P&gt;5 3 $11&lt;/P&gt;&lt;P&gt;I want to use an object to show how many people buy 3 times, 2 times, 1 times and so on.&lt;/P&gt;&lt;P&gt;In this sample, the results should be:&lt;/P&gt;&lt;P&gt;2 times: 2&lt;/P&gt;&lt;P&gt;1 times: 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve it and I should use which object to show?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 08:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232944#M502210</guid>
      <dc:creator />
      <dc:date>2010-12-27T08:48:19Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232945#M502211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac,&lt;/P&gt;&lt;P&gt;Take a look at the code &lt;A href="http://community.qlik.com/forums/p/33501/130393.aspx#130393" target="_blank" title="Counting the number of times a word appears at the detail level"&gt;posted here&lt;/A&gt; to see if that helps.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 10:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232945#M502211</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-27T10:20:07Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232946#M502212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac,&lt;/P&gt;&lt;P&gt;I would use a (bar-) chart with MemberId as Dimension. The expression is similar to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;rank(Count(OrderId))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Default sort-order is ascedning, You can order it descending if you like.&lt;/P&gt;&lt;P&gt;Regards, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 10:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232946#M502212</guid>
      <dc:creator />
      <dc:date>2010-12-27T10:28:12Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232947#M502213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;I answered in parallel. Seems you are (sometimes) a little bit faster.&lt;/P&gt;&lt;P&gt;Nevertheless I tested your link and my browser failed with an object refernce error. Would you validate your address?&lt;/P&gt;&lt;P&gt;Kindly regards, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 10:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232947#M502213</guid>
      <dc:creator />
      <dc:date>2010-12-27T10:34:21Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232948#M502214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;Thanks for noting. I've deleted the link and added it again and it seems it's working now. Your solution may be easier, as I'm suggesting to create that field in the script.&lt;/P&gt;&lt;P&gt;Thanks again and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 10:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232948#M502214</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-27T10:44:23Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232949#M502215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;Thanks for you answer, but I don't want to show specific MemberId as the dimension, the dimension should be "Times":&lt;/P&gt;&lt;P&gt;charged 1 times, 2 times,3 times, and the corresponding value is 1, 2, 0.&lt;/P&gt;&lt;P&gt;So can I create a custom dimension for Times?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 14:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232949#M502215</guid>
      <dc:creator />
      <dc:date>2010-12-27T14:12:55Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232950#M502216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Check something like the following in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;OriginalData:LOAD * INLINE [OrderId, MemberId, Amount1, 1, $302, 1, $353, 2, $304, 2, $305, 3, $11]; RankedData:LOAD OrderId, MemberId, Amount, IF(MemberId = PREVIOUS(MemberId), RANGESUM(PEEK('Times'), 1), 1) AS TimesRESIDENT OriginalDataORDER BY MemberId; DROP TABLE OriginalData;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now you have the "Times" field you can use as dimension. Playing a bit with the code will display more accurate results.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 14:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232950#M502216</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-12-27T14:29:38Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232951#M502217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to do this in chart, here is the solution (see the file attached):&lt;/P&gt;&lt;P&gt;1. Load data&lt;/P&gt;&lt;P&gt;2. Add Calculated dimension :&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Aggr(Count(OrderId), MemberId)&lt;/P&gt;&lt;P&gt;3. Add Expression:&lt;/P&gt;&lt;P&gt;=Count(distinct MemberId)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But be careful - if there is a lot of data - use script version!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Miha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 14:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232951#M502217</guid>
      <dc:creator />
      <dc:date>2010-12-27T14:53:13Z</dc:date>
    </item>
    <item>
      <title>About retention rate</title>
      <link>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232952#M502218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh dear Miha,&lt;/P&gt;&lt;P&gt;Many thanks for your expression, it works well for me.&lt;/P&gt;&lt;P&gt;And also thanks the script of &lt;A href="http://community.qlik.com/members/mabaeyens/default.aspx"&gt;&lt;STRONG&gt;Miguel Angel Baeyens&lt;/STRONG&gt;&lt;/A&gt;, it also helps me solve another question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your every experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 15:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-retention-rate/m-p/232952#M502218</guid>
      <dc:creator />
      <dc:date>2010-12-27T15:16:31Z</dc:date>
    </item>
  </channel>
</rss>

