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
enicolasAtmosp
Frequent Visitor

LookUpValues or RelatedTable

Hello,
I need your help please.

I can't use the lookUpValue or RelatedTable function to get information from another table.

I mean there is the 'Sales' table and the 'Obj' table and I would like to take from the 'Sales' table the column of smartphone models (string) and incorporate it in the 'Obj' table by using their IDs present in each table.

My data model

Modèle.png


It displays this message: 

 

2021-04-16 17_02_05-Total - Power BI Desktop.png

"A table of multiple values was supplied where a single value was expected"

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @enicolasAtmosp 

 

According to the error message, it found multiple smartphone model values for an ID in the Sales table. In your data, does an ID only have one smartphone model value or it may have multiple values? If it has multiple values, you will see this error.

 

Regards,
Community Support Team _ Jing

enicolasAtmosp
Frequent Visitor

Hey Thank you for you help   After 4 different attempts, the only one which seems to work is : But, there is a mistake : in fact, some smartphone models are missing 

amitchandak
Super User
Super User

@enicolasAtmosp , depending  on the relation between tables there are 4 ways , refer to my video on that

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

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.