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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
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
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!




Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Top Solution Authors