Announcements
I have a gallery control in PowerApps and its Items property is set to the following function:Filter('My SharePoint List', 'My Lookup Column'.Id = 1)This is giving me a delegation warning which is confusing based on the documentation found here:https://docs.microsoft.com/en-us/connectors/sharepointonline/#power-apps-delegable-functions-and-operations-for-sharepointFrom that article it says that a Complex field (e.g. Lookup Column) is delegable based on the subfield involved. So in this case the "Id" field is treated as a "Number" in PowerApps. However the "ID" field only supports the "=" operator. So why am I getting a delegation warning while using the formula above?Delegation Notes From Article:
Hi @ZachS15 ,
Do you mean that Id for lookup field is not delegate?
I've made a similar test and met the same problem.
Here's an alternative solution:
set ID as the lookup field's related field.
Then you could use lookupfield.Value to represent that ID value.
Filter('My SharePoint List', 'My Lookup Column'.Value = 1)
Here's a similar issue for your reference:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Delegation-warning-on-SharePoint-list-lookup-column-Id-versus/m-p/369410
Best regards,
@v-yutliu-msft
Your proposed solution seems to work, but I get an incompatible type warning?
I need to use the Text() function to remove it like so:
Filter('My SharePoint List', 'My Lookup Column'.Value = Text(1))
Is this happening on your end as well?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 416 Most Valuable Professional
11manish 205 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2