cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mhenderlight
Helper III
Helper III

Lookup call fails

I have a screen that has a gallery list that is filtered, once you choose one of the items in the list I navigate to another screen where I use the following lookup call:

 

LookUp(Students, 'Student Full Name'=Upper(TemplateGalleryList2.Selected.Result), 'Student Full Name')

 

It is grabbing the correct value for TemplateGalleryList2.Selected.Result, but I get a syntax error from the server:

 

The requested operation is invalid. Server Response: Students failed: Syntax error at position 12 in 'Student Full Name eq 'DOE, JOHN''. inner exception: Syntax error at position 12 in 'Student Full Name eq 'DOE, JOHN''. clientRequestId: d6d61879-1866-4b2d-a708-35254c67465a

 

I don't get it.

11 REPLIES 11
Drrickryp
Super User
Super User

@mhenderlight 

You can add a label to the gallery with the text property Lookup(Yourdatasource, ID=ThisItem.Result, FullName)

View solution in original post

mhenderlight
Helper III
Helper III

Great call!  Works fine, thanks so much for the help!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,094)