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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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