Forum Discussion
Employee Turn over
Does anyone here how to get the Employee turn over? That it will show like this?
I tried this reference: Power BI: Employee turnover rate template - Finance BI (finance-bi.com)
but it doesn't seems to work, it only shows me no visual data.
I also have this date table use for filter:
Hi tebtim19 ,
I use the following formula to calculate the employees turnover rate for each month.
Employees who left = CALCULATE( COUNT(Employees[Employee]), FILTER( Employees, MONTH(Employees[End Date]) = MONTH(MAX(Dates[Date])) && YEAR(Employees[End Date]) = YEAR(MAX(Dates[Date])) ) )Employees at the end = CALCULATE( COUNT(Employees[Employee]), FILTER( Employees, OR( ISBLANK(Employees[End Date]), Employees[End Date] > MAX(Dates[Date]) ) && Employees[Start Date] <= MAX(Dates[Date]) ) )Employees at the beggining = CALCULATE( COUNT(Employees[Employee]), FILTER( Employees, Employees[Start Date] <= MAX(Dates[Date]) ) )Employee Turnover Rate = COALESCE( DIVIDE( [Employees who left], ( [Employees at the beggining] + [Employees at the end] )/2 ), 0 )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- v-kkf-msft
Community Support
- v-kkf-msft
Community Support
Hi tebtim19 ,
I use the following formula to calculate the employees turnover rate for each month.
Employees who left = CALCULATE( COUNT(Employees[Employee]), FILTER( Employees, MONTH(Employees[End Date]) = MONTH(MAX(Dates[Date])) && YEAR(Employees[End Date]) = YEAR(MAX(Dates[Date])) ) )Employees at the end = CALCULATE( COUNT(Employees[Employee]), FILTER( Employees, OR( ISBLANK(Employees[End Date]), Employees[End Date] > MAX(Dates[Date]) ) && Employees[Start Date] <= MAX(Dates[Date]) ) )Employees at the beggining = CALCULATE( COUNT(Employees[Employee]), FILTER( Employees, Employees[Start Date] <= MAX(Dates[Date]) ) )Employee Turnover Rate = COALESCE( DIVIDE( [Employees who left], ( [Employees at the beggining] + [Employees at the end] )/2 ), 0 )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.