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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rit_ty7
Advocate I
Advocate I

Lookup between two tables not returning expected values

Hello Everyone,
I'm trying to bring values from Daily grn table to placement scm table using lookup but I'm getting this error:
"A table of multiple values was supplied where a single value was expected", the relationship between two tables is of one-to-many with placement scm table on one side and both side filter.
I've built the 1st screenshot column in daily grn table

rit_ty7_0-1732770624500.png

and using lookup to import into placement scm table as shown:
Screenshot 2024-11-28 103927.png

2 REPLIES 2
ryan_mayu
Super User
Super User

@rit_ty7 

you can try this

column=maxx(filter('Daily GRN','Placement SCM'[Plant]='Daily GRN'[Plant]),'Daily GRN'[GRN_7th])





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thejeswar
Super User
Super User

HI @rit_ty7 ,

The Problem is that you are not using LOOKUPVALUE() in the way it should be.

 

The Base syntax of a Lookupvalue() function is as shown below

LOOKUPVALUE (
<result_columnName>,
<search_columnName>,
<search_value>
[, <search2_columnName>, <search2_value>]…
[, <alternateResult>]
)

 

The Third Parameter is a single value that should be passed. But in your case, you are passing a column for the third argument. This means you are passing multiple values where a single constant value is expected.

 

Instead of using a lookup, I would suggest you consider joins to attain the same functionality

 

Regards,

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.