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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Looking up values from another table

Hi

 

I have two tables. both have a master column called Name and a relationship exists between the name columns. 

each table has a values column. 

in Table 1 I want to add a column that looks up the value in Table 2 if the names in the name columns are the same. 

 

i've tried lookupvalue with the following syntax

Util = LOOKUPVALUE('table2'[value],'table2'[Name],'Table1'[Name])

 

however it only retuns one value for a cell called Blank. yet I know for a fact the names in the columns are the same. 

 

can anyone help with this?

thanks

 

4 REPLIES 4
Arul
Super User
Super User

Hi @Anonymous ,

Have you tried RELATED function to calculate this column.

Thanks,

-Arul





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

Proud to be a Super User!


LinkedIn


Anonymous
Not applicable

can you help with what the syntax would look like with using related? everytime I try to use it i get errors.

 

Anonymous
Not applicable

I just tried entering measure=RELATED('Table2'[Value]) and I got an error. there is a 1:1 relationship in place yet it doesn't appear to recognise the relationship

 

hi, @Anonymous 

You need to use these formula to add a column instead of a measure.

And usually, these two formula should work well. there may be something wrong in another way.

If still has this issue, please share your simple sample pbix file for us to have a test.

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors