cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
claudiacheng Frequent Visitor
Frequent Visitor

Lookupvalue from another table with multiple values

Lookupvalue.pngTable 1Lookupvalue2.pngTable 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
Moderator v-qiuyu-msft
Moderator

Re: Lookupvalue from another table with multiple values

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.
claudiacheng Frequent Visitor
Frequent Visitor

Re: Lookupvalue from another table with multiple values

2019-04-30 14_50_43-PC Materials Investigation Tools - Power BI Desktop.pngBelow 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:

 

 

Moderator v-qiuyu-msft
Moderator

Re: Lookupvalue from another table with multiple values

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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors