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
shamilka
Frequent Visitor

Merging two tables without duplicates based on certain data

I need to join two tables (add the Purchose order column to the table 1) by matching part number and serial number and copy the column with the corresponding purchase order number in table 2.

 

Note: The column names of the part number and the serial number is different in two tables. 

 

Table 1

 

Part number (PN)Serial Number (SN)Lot noQuantity
AXA1101
AYA1112
AZA1122
BJA1131
BKA1141
BHA1151

 

Table 2

 

Part numberSerial NumberPurchase Order
AX1001
AY1002
AZ1003
BJ1004
BK1005
BH1006

 

Desired Output:

 

Part numberSerial NumberLot noQuantityPurchase Order
AXA11011001
AYA11121002
AZA11221003
BJA11311004
BKA11411005
BHA11511006

 

Thank you

1 ACCEPTED SOLUTION
m_dekorte
Resident Rockstar
Resident Rockstar

Hi @shamilka,

 

You can use the Merge Queries option from the ribon. In the dialog that appears hold down the CTRL key as you select the matching column pairs in both tables. Note that there is a small idenification number visible this needs to correstpond for each pair that belongs together (see blue arrow).

 

m_dekorte_0-1711446414371.png

I hope this is helpful

View solution in original post

1 REPLY 1
m_dekorte
Resident Rockstar
Resident Rockstar

Hi @shamilka,

 

You can use the Merge Queries option from the ribon. In the dialog that appears hold down the CTRL key as you select the matching column pairs in both tables. Note that there is a small idenification number visible this needs to correstpond for each pair that belongs together (see blue arrow).

 

m_dekorte_0-1711446414371.png

I hope this is helpful

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.