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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Related column look up in query editor

Hi,

 

I know in the table view I can use the RELATED function to effectively do a vlookup into another table. But I need this column to be available in the query editor so I think I need to create the column in the query editor? Please can you tell me how to do this?

 

Thanks,

 

CM

6 REPLIES 6
sajju113
New Member

Thank you! @Anonymous 

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Have you tried the solution provided by @Anonymous above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?

 

If you still have any question on this issue, feel free to post here. Smiley Happy

 

Regards

Anonymous
Not applicable

Hi @AnonymousCheenuSing - thank you that works but my 2 source tables are very large so I have to then delete a lot of columns after the merge. Is there a way to define exactly which columns I want to merge when creating the merge query?

 

Thanks,

 

CM

Anonymous
Not applicable

When merging you should only get a single new column in the new table.

 

In that column, in the upper right corner click the expand icon and select which columns you want to include from your merge.

Anonymous
Not applicable

Hi @Anonymous

 

In the edit query mode, you can try the Merged Queries to bring in data from other table. Similar to look up value using related.

 

Try it out if you still have issues you can post back here.

 

Cheers

 

CheenuSing

Anonymous
Not applicable

@Anonymous CheenuSing - This suggestion is simple and effective. Thank you!


Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.