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

View all the Fabric Data Days sessions on demand. View schedule

Reply
JB_AT
Helper III
Helper III

Find Returning Employees

I hope you experts can help

 

I have an EmployeeHistory table with 3 main columns that i want to calculate on. It's a snapshot table, so there are many entries with the same information. 

 

  • EmployeeID
  • HireDate
  • TermDate

 

The table has two dimension tables connected to it. Date and Employee. Both of these tables have a 1 to many relationship on the HireDate and EmployeeID and there is also a inactive relationship on the TermDate.

 

The TermDate is empty if they are still working for us.


I want to calculate when an employee returns to work at the company. This calculation shouldn't show the first HireDate.

Example Table: 

 

EmployeeIDHireDateTermDate
101/01/202015/03/2021
101/01/202015/03/2021
101/01/202015/03/2021
119/11/2022 
119/11/2022 

 

Thanks

1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.