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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

HR retention problem calculations

Hi All, 

 

I treid following the solution here: https://community.powerbi.com/t5/Desktop/Retention-Rate-HR/td-p/474135

 

Unfortunately it only gives me cumulative hired/fired as the same for each year (see below). 

 

I think it is to do with the first two measures, as they just seem to gather all staff but I'm a little stuck as to whats going on here. 

 

To confirm, I have a date table with all dates from 2000-2050 and a year colum with just the year from these dates. 

 

I then have a second table with employee number, and have pivoted the other colums as per the example in the link above so I have a matching format. 

 

Is there a step I am missing or similar to get it to show the additions/leavers per year? 

 

Many Thanks in advance. 

 

powerBIprob.PNG

2 REPLIES 2
Anonymous
Not applicable

Can you add in what measures you are using?  If using time-intelligence functions be sure to set your calendar table to a Date table to ensure they calculate correctly.  

AlB
Community Champion
Community Champion

Hi @Anonymous

 

Can you at least show the code of your measures, ideally share the pbix file?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.