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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
anshpalash
Helper II
Helper II

Merging Rows with Common ID from different Tables

Hi all,

I have three tables of the form:

IDLocation
11NY
12DL
13IN
14TX
17NY

 

IDWeight
111
122

 

IDLot
172123

 

I am looking to achieve this:

IDLocationID MatchWeightLot
11NY111null
12DL122null
13INnullnullnull
14TXnullnullnull
17NY17null2123

 

I have created a relationship set up between the ID columns of the three tables. I want to add those rows from the second and third tables to the first table that have a matching UID. 

 

I tried using the related function for the second table. But since I can only have one active relationship, I am not able to do the same for the third table.

 

Can anyone please give me any direction on how I can add rows from different tables to the first one that have a matching ID? Thanks!

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @anshpalash 

 

Please download the sample file attached.

 

Output:

VahidDM_0-1650327223435.png

 

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

View solution in original post

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @anshpalash ,

 

Whether the advice given by @VahidDM  has solved your confusion, if the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.


Looking forward to your feedback.


Best Regards,
Henry

VahidDM
Super User
Super User

Hi @anshpalash 

 

Please download the sample file attached.

 

Output:

VahidDM_0-1650327223435.png

 

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Ashish_Mathur
Super User
Super User

Hi,

Use the Merge Queries feature of the Query Editor.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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