cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shellmer
Frequent Visitor

Employee Turnover -Average monthly count

My HR team is looking for a monthly turnover percentage using this formula:

Terminated employees/Average head count for the month = turnover percentage for month

 

I figured out how to get the average head count for the month but for some reason my brain stopped when trying to get the count of terminated employees per month. 

 

I have the average headcount as a measure.

 

My data has these relevant columns: 

Name

Employee #

Hire date

Termination Date

 

6 REPLIES 6
v-lid-msft
Community Support
Community Support

Hi @shellmer ,

 

How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?


Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

There should be 2 relationships from the Data Table to the Calendar Table

Active - From Hire Date column of the Data Table to the Date column of the Calendar Table

Inactive - From Termination Date column of the Data Table to the Date column of the Calendar Table

From the Calendar Table, drag Year and Month to a slicer visual and select any one Year and Month

Write this measure to calculate terminated employees

Measure = CALCULATE(COUNTROWS(Data),USERELATIONSHIP(Data[Termination Date],Calendar[Date]))

Hope this helps.

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-lid-msft
Community Support
Community Support

Hi @shellmer ,

 

We can try to create the measure to get the Terminated employee:

 

Terminated employee =
CALCULATE (
    DISTINCTCOUNT ( 'Table'[Employee #] ),
    FILTER (
        ALLSELECTED ( 'Table' ),
        [Termination Date] IN FILTERS ( DateTable[Date] )
    )
)


If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
VasTg
Memorable Member
Memorable Member

@shellmer 

 

Try Sum(Terminated Employees)..

 

If this helps, mark it as a solution.

Kudos are good too.

Connect on LinkedIn
shellmer
Frequent Visitor

@VasTg 

 

I do not have a "Terminated employees" column. That is what I am trying to get to. 

VasTg
Memorable Member
Memorable Member

@shellmer 

 

Ah.. Overlooked it..

 

Did @v-lid-msft  answer helped? If not could you share the sample input and expected visual to better answer your question?

 

 

Connect on LinkedIn

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors