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 / Need help with a deleg...
Power Apps
Answered

Need help with a delegation issue

(0) ShareShare
ReportReport
Posted on by 57

I have the following formula on a gallery to try and filter the gallery based on user input into a text field, and I am getting delegation warnings.  

 

Filter('Client List',StartsWith(searchInput.Text, DisplayName))

 

"Client List" is a SharePoint List.

DisplayName is a calculated column in SharePoint of "LastName" and "FirstName"  ie:  "Smith, John"

 

error1.png

 

I also get the following "ToolTips" that seems to indicate the issue, I just can't sort out what it means: 

 

When hovering over the "DisplayName" in the formula bar: 

"The 'StartsWith' function cannot be delegated if a field name appears in the second argument. "

error2.png

 

 

Categories:
  • eka24 Profile Picture
    20,925 on at

    Try:

    Filter('Client List',StartsWith( DisplayName,searchInput.Text))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    KrishnaV Profile Picture
    5,023 on at

    Hi @wstock 

     

    Unfortunately, Calculated column in PowerApps is not a deligated column see the below article explains what are deligated columns.
    https://powerapps.microsoft.com/en-us/blog/sharepoint-delegation-improvement

     

    Also, below is an excellent video playlist created by a reputed PowerApps MVP @RezaDorrani about deligation and best practices:
    https://www.youtube.com/watch?v=gwiErbYtRdA&list=PLTyFh-qDKAiE6ia-D94Qk5-AzpN4dqOmD


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • usertestingtest Profile Picture
    3 on at

    Try doing XYZ

  • Verified answer
    KrishnaV Profile Picture
    5,023 on at

    Hi @wstock ,

     

    The best solution for this issue is, add a Flow to that list and populate the calculated value through to a single line of test and implement the filter. Flow can be created for all the operations on the list like add/update/delete.


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

     

  • wstock Profile Picture
    57 on at

    Thanks @KrishnaV 

    Actually, I just figured this out myself just after I posted the question...came back here to mention that exact thing.  Changed to a non-calculated column, and it's all good.  (and ya, as was mentioned in another post, I had my parameters backwards as well...it's been a long morning so far. 

     

     

     

     

  • msaenzpe Profile Picture
    18 on at

    Hi @KrishnaV  I am facing the same issue but the fields I am using for the Filter and StartsWith are Single line of texts... any idea what the issue can be?

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard