<?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 Calculate a retention rate in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500338#M103115</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table :&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;Week,ID_Employee&lt;BR /&gt;2,A285030&lt;BR /&gt;3,A285030&lt;BR /&gt;3,A809876&lt;BR /&gt;2,A816901&lt;BR /&gt;2,A826802&lt;BR /&gt;3,A826802&lt;BR /&gt;2,A890308&lt;BR /&gt;2,A907409&lt;BR /&gt;2,A997365&lt;BR /&gt;3,A997365&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 6 employees in week 2, in week 3 I have 4, 3 were already present in week 2, 1 is new.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My turnover rate is 66.67% :&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Week={'$(vMaxWeek)'}&amp;gt;}distinct ID_Employee)&amp;nbsp; /&amp;nbsp;&amp;nbsp; Count({&amp;lt;Week={'$(vMinWeek)'}&amp;gt;}distinct ID_Employee)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My retention rate is 50% (6 employees in week 2, and in week 3 three of them are still present) but I don't know how to find this number.&lt;/P&gt;
&lt;P&gt;Ideas ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 09:00:57 GMT</pubDate>
    <dc:creator>dcz</dc:creator>
    <dc:date>2025-01-08T09:00:57Z</dc:date>
    <item>
      <title>Calculate a retention rate</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500338#M103115</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table :&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;Week,ID_Employee&lt;BR /&gt;2,A285030&lt;BR /&gt;3,A285030&lt;BR /&gt;3,A809876&lt;BR /&gt;2,A816901&lt;BR /&gt;2,A826802&lt;BR /&gt;3,A826802&lt;BR /&gt;2,A890308&lt;BR /&gt;2,A907409&lt;BR /&gt;2,A997365&lt;BR /&gt;3,A997365&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 6 employees in week 2, in week 3 I have 4, 3 were already present in week 2, 1 is new.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My turnover rate is 66.67% :&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Week={'$(vMaxWeek)'}&amp;gt;}distinct ID_Employee)&amp;nbsp; /&amp;nbsp;&amp;nbsp; Count({&amp;lt;Week={'$(vMinWeek)'}&amp;gt;}distinct ID_Employee)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My retention rate is 50% (6 employees in week 2, and in week 3 three of them are still present) but I don't know how to find this number.&lt;/P&gt;
&lt;P&gt;Ideas ?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 09:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500338#M103115</guid>
      <dc:creator>dcz</dc:creator>
      <dc:date>2025-01-08T09:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a retention rate</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500343#M103116</link>
      <description>&lt;P&gt;To calculate retention rate, you simply find how many employees in Week 3 were also in Week 2, then divide by the total in Week 2. For your data, it's 3 out of 6, giving you a 50% retention rate. Easy way to track employee consistency!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 09:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500343#M103116</guid>
      <dc:creator>frank85richard</dc:creator>
      <dc:date>2025-01-08T09:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a retention rate</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500354#M103119</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give this a spin:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(( Count({&amp;lt; "Week" = {'$(vMaxWeek)'}, [ID_Employee] = P({&amp;lt; "Week" = {'$(vMinWeek)'} &amp;gt;} [ID_Employee]) &amp;gt;} [ID_Employee]) - Count({&amp;lt; "Week" = {'$(vMinWeek)'} &amp;gt;} [ID_Employee]) )&lt;BR /&gt;/&lt;BR /&gt;Count({&amp;lt; "Week" = {'$(vMinWeek)'} &amp;gt;} [ID_Employee]) )&lt;/P&gt;
&lt;P&gt;---------&lt;/P&gt;
&lt;P&gt;Assuming your vMinWeek = 2 and your vMaxWeek = 3, you should get an output of -50.0% .&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 10:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500354#M103119</guid>
      <dc:creator>Sandhuuuu</dc:creator>
      <dc:date>2025-01-08T10:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a retention rate</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500360#M103120</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you very much it works perfectly !&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 10:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-a-retention-rate/m-p/2500360#M103120</guid>
      <dc:creator>dcz</dc:creator>
      <dc:date>2025-01-08T10:59:40Z</dc:date>
    </item>
  </channel>
</rss>

