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

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
Super User
Super User

Hi @Anonymous

 

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

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.