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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors