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
Super User II
Super User II

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

 

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

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

Is your problem solved now?

Yes, thanks.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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