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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ARomain
Helper I
Helper I

Lookup Start Date and End Date from another table

Been looking online for ways to lookup the value between start and end dates and position and can't seem to figure it out

 

I have 2 tables, a 'Person' table that shows when the employee was hired and quit (however, the employee can quit and come back) and another table 'Position' which shows the position the person was in in a specified time range. 

 

Trying to get the format in the last output in the screenshot below and been experiementing with LOOKUP Values and can't seem to get it correct.

 

image2.png

1 ACCEPTED SOLUTION
vk_pbi
Resolver II
Resolver II

Hi @ARomain 

Please use Power query merge table option to merge these two tables. While merging tables, select Name and Positon start key to match the person table. Refer below images

vk_pbi_1-1684770986820.png

 

vk_pbi_0-1684770929786.png

 

View solution in original post

1 REPLY 1
vk_pbi
Resolver II
Resolver II

Hi @ARomain 

Please use Power query merge table option to merge these two tables. While merging tables, select Name and Positon start key to match the person table. Refer below images

vk_pbi_1-1684770986820.png

 

vk_pbi_0-1684770929786.png

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.