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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.