Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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 @Anonymous ,

 

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 @Anonymous ,

 

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

@Anonymous 

 

Try Sum(Terminated Employees)..

 

If this helps, mark it as a solution.

Kudos are good too.

Connect on LinkedIn
Anonymous
Not applicable

@VasTg 

 

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

@Anonymous 

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.