Forum Discussion
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?
Thanks,
Gordon
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
2 Replies
- G0ggsHelper I
just the age thanks that worked a treat
- vanessafvgCommunity Champion
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