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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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