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 / Delegation error when ...
Power Apps
Answered

Delegation error when trying to filter based on the lookup field

(0) ShareShare
ReportReport
Posted on by 3,514

I have 2 SharePoint lists:-

 

1) Activities

2) Project Master

 

now inside the Activities list i have a lookup field to the Project Master as follow:-

 

title.png

 

now when i am trying to get the activities under a related mater project, i will get a delegation error:-

 

de21.png

 

now if i write the following filter the delegation error will gone, but there will be an issue if two master projects share the same title:-

 

sort(Filter(Activities,ProjectTitle.Value = varProjectdetails.Title),Created,Descending)

 

any advice? should i change my lookup setting inside sharepoint to have the ID instead of the title inside the "In this column" dropdown?

Thanks

Categories:
  • WarrenBelz Profile Picture
    156,536 Most Valuable Professional on at

    Hi @johnjohn123 ,

    "Secondary" lookup fields are not Delegable (you also should seriously ask yourself why you are using Lookup fields  with Power Apps at all), so changing the column will not help. You really need an identifier in the related list reflecting a field in the "Parent" (if you want to escape the Delegation issue).

     

    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.

  • Verified answer
    johnjohn123 Profile Picture
    3,514 on at

    @WarrenBelz  i changed the formula as follow:-

     

    sort(Filter(Activities,ProjectTitle.Value = varProjectdetails.Title),Created,Descending)

     

    and i asked the users to make sure that the Project Title is unique.. i can not think of other approachto get this fixed

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard