Reply
avatar user
Anonymous
Not applicable

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

I am trying to do like a vlookup in power bi with the lookupvalue funcion, because I need to create a collumn. But, I dont no the problem "A table of multiple values was supplied where a single value was expected". 

 

_Sales_Date = LOOKUPVALUE('Table (3)'[BNX-DTAVENDA],'Table (3)'[BNX-NUMERVIN],'table (1)'[BNXR-NRVIN])
1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

The error message "A table of multiple values was supplied where a single value was expected" typically occurs when the LOOKUPVALUE function is returning more than one value for the given criteria. This can happen if there are duplicate values in the column being searched.

In your case, it means that there are multiple rows in 'Table (3)' where the condition 'Table (3)'[BNX-NUMERVIN] = 'table (1)'[BNXR-NRVIN] is met, and LOOKUPVALUE is unable to return a single value.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote for my Community Mobile App Idea 💡



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
avatar user
Anonymous
Not applicable

Thanks for the help. I removed the duplicates values and it solved the error. Thanks again.

Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

The error message "A table of multiple values was supplied where a single value was expected" typically occurs when the LOOKUPVALUE function is returning more than one value for the given criteria. This can happen if there are duplicate values in the column being searched.

In your case, it means that there are multiple rows in 'Table (3)' where the condition 'Table (3)'[BNX-NUMERVIN] = 'table (1)'[BNXR-NRVIN] is met, and LOOKUPVALUE is unable to return a single value.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote for my Community Mobile App Idea 💡



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)