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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.