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
RV1
Helper I
Helper I

Tracing Employee Position History

Hi,

 

I am trying to work on a solution that provides the relevant position of an employee on any given date. I have 2 tables:

 

a. EmployeePositionHistory

b. WorkSchedule

 

Position History - EmpCode, Position, StartDate, EndDate (Blank for current position)

WorkSchedule - Empode, ScheduleDate (Last 365 days), plus other fields

 

The WorkShcedule file has a record of last 365 days for all active employees (active on that day).

Based on the EmployeePositionHistory, I would like to add a column in WorkShcedule table for the staff's position on that particular date.

 

All help will be appreciated.

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @RV1,

According to your description, it seems like a common date range analysis requirement. For this scenario, I'd like to suggest you refer to the below blog 'start date', 'end date' part if helps.

Before You Post, Read This 

In addition, you can also try to create a bridge table to expand the detail date records and mapping with the raw table. After these, you can simply do analysis or calculate with raw table records.

Solved: Spread revenue across period based on start and en... - Microsoft Power BI Community

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @RV1,

According to your description, it seems like a common date range analysis requirement. For this scenario, I'd like to suggest you refer to the below blog 'start date', 'end date' part if helps.

Before You Post, Read This 

In addition, you can also try to create a bridge table to expand the detail date records and mapping with the raw table. After these, you can simply do analysis or calculate with raw table records.

Solved: Spread revenue across period based on start and en... - Microsoft Power BI Community

Regards,

Xiaoxin Sheng

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.