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
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
Super User

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





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

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
Super User

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





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.