<?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: New Hire Attrition Rate in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718113#M165741</link>
    <description>&lt;P&gt;One solution is.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SET DateFormat='DD/MM/YYYY';

SET MonthDiff = Num(((year($2) * 12) + month($2)) - (((year($1) * 12) + month($1))) + 1);

tab1:
LOAD *, Class([No Of Months at Company],3,'months') As Bucket
;
LOAD *, $(MonthDiff([Start Date],[Leaving Date])) As [No Of Months at Company]
;
LOAD * INLINE [
    Unique Employee ID, Start Date, Leaving Date
    1245, 1/1/2019, 3/3/2019
    1365, 1/3/2019, 31/03/2019
    6897, 6/2/2019, 5/9/2019
    1459, 8/1/2019, 4/12/2019
    9865, 6/7/2019, 3/3/2020
    4657, 5/8/2019, 5/2/2020
];&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 11 Jun 2020 22:38:36 GMT</pubDate>
    <dc:creator>Saravanan_Desingh</dc:creator>
    <dc:date>2020-06-11T22:38:36Z</dc:date>
    <item>
      <title>New Hire Attrition Rate</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718042#M165728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to calculate a rolling attrition rate for people that have spent less than 3 months,&amp;nbsp; 4 to 6 months, 7 to 9 months and 10 to 12 months at a company. The attrition formula I am using is;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;**The total number of leavers in certain period divided by the total number of new hires during the same period of time and then multiply the end result with 100%.**&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My QlikSense calculation I am using to calculate the attrition rate for someone that stayed at the company for less than 3 months during a specific period of time is below;&lt;/P&gt;&lt;P&gt;num((Count({&amp;lt;[Bucket)]={'[0-3 Months)'}&amp;gt;}{&amp;lt;Month&amp;gt;}[Leaving Date]) / Count({&amp;lt;Month&amp;gt;}[Start Date])),'#0.0%')&lt;/P&gt;&lt;P&gt;I am not sure if this is the right&amp;nbsp; calculation. I have a table of sample data below. Could someone please advise me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="548"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="127"&gt;Unique Employee ID&lt;/TD&gt;&lt;TD width="84"&gt;Start Date&lt;/TD&gt;&lt;TD width="82"&gt;Leaving Date&lt;/TD&gt;&lt;TD width="166"&gt;No Of Months at Company&lt;/TD&gt;&lt;TD width="89"&gt;Bucket&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1245&lt;/TD&gt;&lt;TD&gt;01/01/2019&lt;/TD&gt;&lt;TD&gt;03/03/2019&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;0-3 Months&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1365&lt;/TD&gt;&lt;TD&gt;01/03/2019&lt;/TD&gt;&lt;TD&gt;31/03/2019&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0-3 Months&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6897&lt;/TD&gt;&lt;TD&gt;06/02/2019&lt;/TD&gt;&lt;TD&gt;05/09/2019&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;7-9 Months&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1459&lt;/TD&gt;&lt;TD&gt;08/01/2019&lt;/TD&gt;&lt;TD&gt;04/12/2019&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;10-12 Months&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;9865&lt;/TD&gt;&lt;TD&gt;06/07/2019&lt;/TD&gt;&lt;TD&gt;03/03/2020&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;7-9 Months&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4657&lt;/TD&gt;&lt;TD&gt;05/08/2019&lt;/TD&gt;&lt;TD&gt;05/02/2020&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;7-9 Months&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718042#M165728</guid>
      <dc:creator>Jnkansayeboah</dc:creator>
      <dc:date>2024-11-16T18:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: New Hire Attrition Rate</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718075#M165732</link>
      <description>&lt;P&gt;Hi, maybe try with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=num((Count({&amp;lt;Bucket={"0-3 Months"},Month&amp;gt;}[Leaving Date]) / Count({&amp;lt;Month&amp;gt;}[Start Date])),'#0.0%')&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Jun 2020 20:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718075#M165732</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2020-06-11T20:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: New Hire Attrition Rate</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718109#M165740</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/10194"&gt;@sergio0592&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your response!&lt;/P&gt;&lt;P&gt;As well as the actual code, I wanted to know whether you thought my thought process or idea for calculating rolling attrition was right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jed&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 22:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718109#M165740</guid>
      <dc:creator>Jnkansayeboah</dc:creator>
      <dc:date>2020-06-11T22:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: New Hire Attrition Rate</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718113#M165741</link>
      <description>&lt;P&gt;One solution is.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SET DateFormat='DD/MM/YYYY';

SET MonthDiff = Num(((year($2) * 12) + month($2)) - (((year($1) * 12) + month($1))) + 1);

tab1:
LOAD *, Class([No Of Months at Company],3,'months') As Bucket
;
LOAD *, $(MonthDiff([Start Date],[Leaving Date])) As [No Of Months at Company]
;
LOAD * INLINE [
    Unique Employee ID, Start Date, Leaving Date
    1245, 1/1/2019, 3/3/2019
    1365, 1/3/2019, 31/03/2019
    6897, 6/2/2019, 5/9/2019
    1459, 8/1/2019, 4/12/2019
    9865, 6/7/2019, 3/3/2020
    4657, 5/8/2019, 5/2/2020
];&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Jun 2020 22:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718113#M165741</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-11T22:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: New Hire Attrition Rate</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718115#M165742</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV18.PNG" style="width: 496px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35407i7690A6E09BDEDE3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV18.PNG" alt="commQV18.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 22:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718115#M165742</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-11T22:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: New Hire Attrition Rate</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718206#M165767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/894"&gt;@Saravanan_Desingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your response. However I was looking more to see if my code for calculating rolling attrition was right.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 08:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/New-Hire-Attrition-Rate/m-p/1718206#M165767</guid>
      <dc:creator>Jnkansayeboah</dc:creator>
      <dc:date>2020-06-12T08:43:46Z</dc:date>
    </item>
  </channel>
</rss>

