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

Lookup on complex type

Just beginning building canvas app for first time and struggling with how to do a 'Lookup' on a related entity in CRM.

I have the GUID of the valude I want to lookup on however the below Lookup doesn't seem to work?

Trying to response value back only from particular record that has a matching "Related Enitty" id?

 

LookUp(Responses,"Related Entity"=Param("RelatedEntityId")).Response

4 REPLIES 4
Highlighted
Super User II
Super User II

Re: Lookup on complex type

Try something like this:

LookUp(Responses,"Related Entity".ID = GUID of the related entity that you want to lookup on)

ID is the column name in which the GUID of the related entity is stored.

This example is just for illustration.

Let me know if this helps.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com
Highlighted
Helper I
Helper I

Re: Lookup on complex type

 

thanks, had to end up converting to GUID like this...

LookUp(Responses,'Related Entity'.id=GUID(Param("RelatedEntityId"))).Response

Highlighted
Super User II
Super User II

Re: Lookup on complex type

Is your problem solved now?
Highlighted
Helper I
Helper I

Re: Lookup on complex type

Yes, thanks.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,750)