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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Join two tables via a common variable

Hi,

I am trying to append 2 tables by tying the 2 together by the Employee ID column. I am new to Power BI, am I doing something wrong?

 

I want the Gender and Level information (pic1) to be added as new columns into the Awards sheet (pic2) to show this info linked via Employee ID.

 

How can I do this? Many thanks!

Employee Identifiers - no duplicates in this listEmployee Identifiers - no duplicates in this listAwards list for whenever an employee rewardedAwards list for whenever an employee rewarded

1 ACCEPTED SOLUTION

Hey,

 

you can achieve what you are looking for by "merging" columns from one table into the other.

 

This Blogpost explains it very good, I think:
http://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Hopefully this gets you started.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

4 REPLIES 4
Militambe3171
Frequent Visitor

If your Employee ID column has unique values in first table then power will directly create relationship in two tables.

 

You want append or join? please eloborate more

Anonymous
Not applicable

I would like the gender column and level column info seen in the employee info sheet to be added into the Awards list data, showing the relevant info there.

 

E.g. employee info - Employee ID: 1234, Gender F, Level 4

 

Every instance in the Awards list where there is Employee ID: 1234 I want to see in the gender / level columns there, F and 4.

 

Hope this explains.

 

 

Hey,

 

you can achieve what you are looking for by "merging" columns from one table into the other.

 

This Blogpost explains it very good, I think:
http://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Hopefully this gets you started.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Awesome! Thank you very much. The merge worked perfectly!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors