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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sailendra
Frequent Visitor

Calculate Attrition % (YTD) using Exit rate formula

Dear Community,

 

I have tried calculating Attrition % YTD with the below formulae in Power BI but couldn't calculate accurately and facing errors. Can someone please help me out with the below Formula? With the below formula I have to calculate the Attrition % of different categories (like Gender, Voluntary, Location, etc)

 

Attrition YTD (Exit Rate) % = Cummulative Exits till month/(Active + Cummulative Exits till month) * 12/Month

 

For eg. Attrition YTD %

  1. Feb = 1/((4+1)*12/2 = 120%
  2. Mar = 3/(3+4)*12/3=171%
  3. Apr = 5/(3+5)*12/4 = 187.5%

 

Attached here is the sample data

 

MonthUser IDTeamGenderTermination DateDate Of JoiningActiveVoluntary AttritionInvoluntary Attrition
JAN214ABCFemale 1-Jan-15100
JAN215XYZMale 10-Jan-16100
JAN218DEFMale 3-Mar-17100
JAN219XYZFemale 4-Apr-15100
JAN220DEFMale 5-May-18100
FEB214ABCFemale 1-Jan-15100
FEB215XYZMale 10-Jan-16100
FEB218DEFMale10-Feb-20213-Mar-17010
FEB219XYZFemale 4-Apr-15100
FEB220DEFMale 5-May-18100
Mar214ABCFemale18-Mar-20211-Jan-15001
Mar215XYZMale 10-Jan-16100
Mar219XYZFemale 4-Apr-15100
Mar220DEFMale25-Mar-20215-May-18010
Mar223ABCMale 5-Mar-21100
Mar226XYZFemale 10-Mar-21100
Apr215XYZMale20-Apr-202110-Jan-16010
Apr219XYZFemale25-Apr-20214-Apr-15001
Apr223ABCMale 5-Mar-21100
Apr226XYZFemale 10-Mar-21100
Apr241DEFFemale 20-Apr-21100

 

@Ashish_Mathur@amitchandak @v-yulgu-msft @Anonymous @Jihwan_Kim @v-jingzhang 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@sailendra , Check if my file can help. This is on my data

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you for your response. Can you please look into the data I have shared? I find it trickier as the same employee row gets repeated every month until he is terminated and to calculate Attrition %

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.