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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Canvas power app- dele...
Power Apps
Answered

Canvas power app- delegation warning with LookUp

(0) ShareShare
ReportReport
Posted on by 34

Hi all, 

I am currently trying to look up item of a list in SharePoint. The following is what I am using

 

LookUp('Request','Created By'.Email = user.mail && 'file:ID'.Id = ComboBox.Selected.file.Id && 'Status'.Value = "Given" && 'Access'.Value = "Edit" ,true)

 

  •  Request is the name of the list in SharePoint
  • user.Mail is referring to variable that get the current user profile
  • file.ID is a lookup field and I am comparing it's ID that to the combo box I have added in the canvas app where user can select which file they want to pick. The information here is being taken from different list but they have this common column. 
  • Status and Access is a choice column. User can only select 1 item which I am using to compare.

If power app can find item that matches the given condition then it should given true value back. This is working as expected but it is giving a delegation warning. I am unsure how to work around it. Any suggestion will be greatly appreciated. Thanks in advance 🙂

Categories:
  • Verified answer
    meklulose Profile Picture
    34 on at

    okay the delegation warning is related to using the 'file:ID'.ID. So instead of using that I just used the look column 'file'.Value which now has fixed the warning. This means that I will have to compare it to a title field which I don't have issue with. But if anyone is having the same issue and need the look up ID then I suggest when they make look up column in SharePoint to pick the ID as the column and then when you do 'file'.Value, you will get the ID. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard