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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Employee Turnover - YTD and SPLY

Hi all,

 

Hoping someone in the community will be able to help me! I have only just started using PowerBI in the last 6 months so still getting my head around everything.

 

I am currently trying to create a YTD and SPLY Turnover Line Graph by month. The issue I am having is calculating the average headcount. 

 

The below graph shows the YTD Turnover by team (x axis). 

 

Equation for headcount average currently - 2017 YTD Headcount = COUNT('2017 Headcount'[Division Name])/2

 

Employee Turnover Example.PNG

 

What I am trying to achieve is something like the below that shows it by month:

 

Turnover by month.PNG

 

However, I am completeley stumped as to how to get the rolling count for example January would be number of leavers/headcount for month then from Feb it would be accumulative whereby the equation would be jan leavers + feb leavers / average headcount for Jan and Feb.

 

Any suggestions on how I can tackle this one would be greatly appreciated. Each of my data sources are line by line of employee names for both leavers and headcount. 

 

Happy to provide more information if you need 🙂

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may view the code generated by Quick measure Running total and Rolling average.

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

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may view the code generated by Quick measure Running total and Rolling average.

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

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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