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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
mng
Helper I
Helper I

How to merge data

Hi, I have a two datasets. I appended 'table 1' and 'table 2' below. I'm trying to merge the location data from table 2 to table 1's rows using UPPER(NTID) and EMPNET_ID as the link to show the location data.


Logic: If there is a match between those two columns, to add the location data to that row. (Sort of a XLOOKUP() you would use in excel.) How could I do that in power bi? 

 

2023-02-15 11_53_00-Official Switching Clearing List_ADD 46kv - Power Query Editor.png

3 REPLIES 3
mng
Helper I
Helper I

Thank you

Hi @mng ,

 

Glad to help you, please mark my reply as a solution if you can. More people will benefit, thank you.

 

Best Regards,

Stephen Tao

v-stephen-msft
Community Support
Community Support

Hi @mng ,

 

There's a feature you can merge, please refer to

Merge queries overview - Power Query | Microsoft Learn

You can merge as follows.

vstephenmsft_0-1676947377956.png

Expand the tables in the Table 2 column.

vstephenmsft_1-1676947387521.pngvstephenmsft_2-1676947395172.png

vstephenmsft_3-1676947418380.png

 

 

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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