cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Souza170617_
Regular Visitor

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 @Souza170617_ ,

 

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
Souza170617_
Regular Visitor

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

Idrissshatila
Super User
Super User

Hello @Souza170617_ ,

 

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors