cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
G0ggs
Helper I
Helper I

Pulling cell value from another table

Hello I had searched the forum but cannot find an answer, hoping someone can help. 

I have multiple table entries for peoples names in  table 1 and in another table 2 I only have their name once. 

 

In the table with multiple name entries I have one row that contains their age but it is missing from the other rows and also from the other table. How do I lookup the first table and pull the age and paste in the second table please? 

 

G0ggs_0-1620477882905.png

 

Thanks,

Gordon 

 

1 ACCEPTED SOLUTION
vanessafvg
Super User I
Super User I

the best way to do this is to join the tables via a one to many relationship  between the names (ideally if you had a personid that would be better)

 

once you create that relationship you can pull data from both tables in a visual as they will be linked.

 

what do you need from table 1?

 

here is more information on how to do it;

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
G0ggs
Helper I
Helper I

just the age thanks that worked a treat

vanessafvg
Super User I
Super User I

the best way to do this is to join the tables via a one to many relationship  between the names (ideally if you had a personid that would be better)

 

once you create that relationship you can pull data from both tables in a visual as they will be linked.

 

what do you need from table 1?

 

here is more information on how to do it;

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors