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 / Can I create a local v...
Power Apps
Answered

Can I create a local variable from a delegable filter?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have SharePoint data source that I need to search through the records and extract the ID of an item that matches an "Active" status and is assigned to the current person. My code looks like this, which I thought was delegable until I checked the monitor and it looks like its not delegable.  My question is, is this UpdateContext formula delegable as written, and if not what would be a delegable way to search and extract the ID number to be used else where? 

 

UpdateContext({varTestString:Filter(
 RequestUIDs,
 ActiveString = "true" && PrimaryTechString = varCurrentUser.Claims
)})

 

 

csbarone_0-1624376515156.png

 

Categories:
  • Verified answer
    timl Profile Picture
    37,422 Super User 2026 Season 2 on at

    @Anonymous 

    Will there only ever be one record in RequestUIDs that is active matches the current user? If so
    you could call the LookUp function instead of the Filter function.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    In this situation yes that looks like it works and doesn't appear to be a delegation issue.  

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard