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 function
Power Apps
Unanswered

delegation function

(0) ShareShare
ReportReport
Posted on by 372

Hi,

 

I have this formula:
Filter('WM FOR WELDER REGISTER', 'Grup Name Assembly' in SubAssy.Selected.Value, NoDrawing.Text in 'No Drawing')

I used 'in' function because the value in NoDrawing.Text is 1-0951, but in 'No Drawing' is 1-0951-1 or 1-0951-2. So, I used that function, but I got delegation. Is there any alternative function to replace 'in' in that formula? 

 

Notes. I used sharepoint list, I'm afraid if data more than 2000 will make error/ powerapps cant grab all my data.  

Thankyou!

Categories:
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    You can use the StartsWith function, however there is no easy way to get around delegation for the 'in' operator:

     

     

    Filter(
     'WM FOR WELDER REGISTER', 
     StartsWith('Grup Name Assembly', SubAssy.Selected.Value), 
     StartsWith('No Drawing', NoDrawing.Text)
    )

     

     

    Matt Devaney did a great post recently around using Power Automate to get around the delegation, so you can also look at that here if you want a more complicated solution:

    https://www.matthewdevaney.com/power-apps-search-a-sharepoint-list-no-delegation-warning/ 

     

    Cheers,

    Sancho

  • firda59 Profile Picture
    372 on at

    @iAm_ManCat 

     

    I got this error:

    Part of this formula cannot be evaluated remotely. The 'StartsWith' function cannot be delegated if a field name appears in the second argument.

     

    Is there any other way? Thankyou

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hey @firda59 

     

    I used the structure of your original code, which was checking the in function the other way, this resulted in an error.

    I have corrected my original answer to swap the two parameters around.

     

    You can also look at the function reference for the StartsWith function if you want to try and understand more

     

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard