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 problem but...
Power Apps
Unanswered

Delegation problem but in one column

(0) ShareShare
ReportReport
Posted on by

Hi. I receive such a warning but it applies only to one "Tagi" column. I've looked through the forum but I can't apply the advice to my situation.

Warning regarding delegation. The "StartsWith" part of this formula may not work correctly for large data sets

 

With({
 asmt: SortByColumns(
 Filter(
 'Wykaz klas JRWA';
 IsBlank(searchQuery) || StartsWith(Title; searchQuery) || StartsWith (Tagi; searchQuery) || StartsWith(Sposob_prowadzenia;searchQuery)
 );

 

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

    Hi @pablik01 ,

    I suspect Tagi is a Choice or Lookup column - if so, StartsWith is not Delegable. I suggest you change it to a Text column, or use a drop-down with the available value and use equals if you want to use that structure.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • pablik01 Profile Picture
    on at

    Tagi is a text column, also I have a second question is Is there a way to search the entire text, not just the first word?

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @pablik01 ,

    For further clarification - Tagi is a Single Line of Text and your data source is SharePoint ? If so it should be Delegable.

  • pablik01 Profile Picture
    on at

    Suddenly it started working when I once again set the columns in SharePoint to a single line of text. I have a question about searching by each word in one column. I was thinking about collecting information from a SharePoint table into a collection and using the Split formula. Am I right?

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @pablik01 ,

    Yes it will work as a Single Line of Text, ashough I do not understand your reference to the Split() function as this is used when text is delimited (for example by commas).

  • pablik01 Profile Picture
    on at

    I have several words in a column separated by commas. I wanted to set the search to run after each word in the column.

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    @pablik01 ,

    Yes that will work except Split() is not Delegable.

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

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard