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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Zakaria_1980
Post Patron
Post Patron

Link two tbls

Hello,

 

i've two tables and the main data in both tbls is "Opporty Nb". 

in the first tbl, i've the following inputs:

 

Opporty NbPjt Nam.CaseIdCity
XXXXXXXXXXXXXXXXX

 

in the 2nd  tbl, i've the following inputs:

Opporty NbCreation_dateSubmission_dateApproval_date
XXXX/XX/XXXXXX/XX/XXXXXX/XX/XXXX

 

let's say that i want the following output:

 

Opporty NbPjt Nam.Creation_dateSubmission_dateApproval_date
XXXXXXXX/XX/XXXX XX/XX/XXXXXX/XX/XXXX

 

when i make the relatioship bw the two tbls by "Opporty Nb", i get my output tbl empty, whether i used the Opportyns Nb from tbl1 or Tbl2.

 

Thanks for your help to understand where is my error.

 

regards,

 

1 ACCEPTED SOLUTION
goncalogeraldes
Super User
Super User

Hello there @Zakaria_1980 ! Have you tried to do it with a Merge in Power Query? You can do so by using the "Merge Queries" option in the Home tab on Power Query and then selecting the common column (in your case "Opporty Nb"). 

goncalogeraldes_1-1643190096479.png

 

After this step you can selected which columns to expand (keep) in your merge:

goncalogeraldes_2-1643190182144.png

 

You can also remove any unnecessary column from the left of the merge to ultimately get the result you need! 

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!

You can also check out my LinkedIn!

Best regards,
Gonçalo Geraldes

 

 

 

View solution in original post

1 REPLY 1
goncalogeraldes
Super User
Super User

Hello there @Zakaria_1980 ! Have you tried to do it with a Merge in Power Query? You can do so by using the "Merge Queries" option in the Home tab on Power Query and then selecting the common column (in your case "Opporty Nb"). 

goncalogeraldes_1-1643190096479.png

 

After this step you can selected which columns to expand (keep) in your merge:

goncalogeraldes_2-1643190182144.png

 

You can also remove any unnecessary column from the left of the merge to ultimately get the result you need! 

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!

You can also check out my LinkedIn!

Best regards,
Gonçalo Geraldes

 

 

 

Helpful resources

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

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.