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
CloudMonkey
Post Prodigy
Post Prodigy

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! @CheenuSing 

v-ljerr-msft
Employee
Employee

Hi @CloudMonkey,

 

Have you tried the solution provided by @CheenuSing 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

Hi @CheenuSingCheenuSing - 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.

CheenuSing
Community Champion
Community Champion

Hi @CloudMonkey

 

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

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!
Anonymous
Not applicable

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


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.