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
EWilson-1412
New Member

Vlookup and Power BI Advanced Editor

In Power BI Desktop, I have added this in as a New Column which has gave me the results I am looking for - Forename1:People1 = LOOKUPVALUE('Workforce Profile'[Forename1:People],'Workforce Profile'[Occupancy Reference],'Sickness Absence'[Occupancy Reference]), however if I wanted to write this as a Query in the Advanced Editor to be able to automatically add this New Column in, how would I go about it? 

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @EWilson-1412,

 

In Query Editor, you can use Merge Queries feature to merge tables Workforce Profile and Sickness Absence  based on 'Workforce Profile'[Occupancy Reference] and 'Sickness Absence'[Occupancy Referenc] column. Then expand new column and choose 'Workforce Profile'[Forename1:People] column. 

 

See: 

https://www.youtube.com/watch?v=hVWSxX-uF-0

https://docs.microsoft.com/en-us/power-bi/desktop-shape-and-combine-data#combine-data

https://support.office.com/en-us/article/Merge-queries-Power-Query-fd157620-5470-4c0f-b132-7ca2616d1...

 

 

Best REgards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.