cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Super User

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

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
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response 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 (3,907)