web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / LOOKUP ID FROM A COLLE...
Power Apps
Unanswered

LOOKUP ID FROM A COLLECTION

(0) ShareShare
ReportReport
Posted on by 195

Hello Everyone, 

Good day!

I have a question. I want to get the ID from a collection. I'm using the code below.

 

LookUp('Data Source', ID = LookUp(colRequestLeaders, ThisItem.ID = Request.Id).'Service Region Market'.Id).'PPL Leader'.DisplayName



But I'm having a delegation warning. Thanks in advance for your help!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    152,851 Most Valuable Professional on at
    Re: LOOKUP ID FROM A COLLECTION

    Hi @YamiteKudasai ,

    Try this

    With(
     {
     wID:
     LookUp(
     colRequestLeaders, 
     Request.Id = ThisItem.ID
     ).'Service Region Market'
     },
     LookUp(
     'Data Source',
     ID = wID.Id
     )
    ) 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • YamiteKudasai Profile Picture
    195 on at
    Re: LOOKUP ID FROM A COLLECTION

    Hello sir @WarrenBelz , still having delegation warning in wID part.

  • WarrenBelz Profile Picture
    152,851 Most Valuable Professional on at
    Re: LOOKUP ID FROM A COLLECTION

    Hi @YamiteKudasai ,

    Try the below, but if it does not work, there is no way of doing a Delegable query with your structure as this is a Relational Query and SharePoint is not a Relational Database

    With(
     {
     wID:
     LookUp(
     colRequestLeaders, 
     Request.Id = ThisItem.ID
     ).'Service Region Market'.Id
     },
     LookUp(
     'Data Source',
     ID = wID
     )
    ) 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    152,851 Most Valuable Professional on at
    Re: LOOKUP ID FROM A COLLECTION

    Hi @YamiteKudasai ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard