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
claudiacheng
New Member

Lookupvalue from another table with multiple values

Table 1Table 1Table 2Table 2

Hi,

I am trying to lookupvalue using the below formula to link the two tables:

= LOOKUPVALUE (RESULT COLUMN, SEARCH COLUMN1, SEARCH COLUMN2)

= LOOKUPVALUE (TABLE2[PLANT], TABLE1[DOCK],TABLE2[DOCK])

 

Table one column dock and table two column dock has a relationship linked.

Table two dock has only unique values but table one dock has multiple value.

 

It doesn't work when I try to match the dock codes and have it return what plant it belongs to for table 1.

 

Please help. Thank you!

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @claudiacheng

 

Is there any error occurs when you use LookupValue() function? 

 

I tested with some dummy data, it's able to create a calculated column on Table1 to return Plant values from Table2. 

 

q2.PNG

 

Best Regards,
Qiuyun Yu 

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

Below the error is the CMSSINDTL tableBelow the error is the CMSSINDTL table

 

Hi Qiuyun,

 

Thank you for your help!

 

I have tried and it's giving me the above error message:

 

 

Hi @claudiacheng

 

What's the relationship between the tables DockToShop and CMSSINDTL? 

 

If possible, please share pbix file with us. You can upload it to your OneDrive and send the share link to me via private message. 

 

Best Regards,
Qiuyun Yu 

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

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