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 issue with ...
Power Apps
Unanswered

Delegation issue with my Dataverse table

(0) ShareShare
ReportReport
Posted on by 17

Hi,

 

My power apps has over 5500+ records in MS Dataverse table. and in a screen where it needs to fetch all those records is showing "Delegation warning". I have attached the code snipet with the underlined delegation warning.

atuldeo_0-1665401940519.png

 

Please suggest me a workaround which I can use to remove this warning as I am not able tp search all the items in the database which is also very annoying for my clients.

 

I have the same question (0)
  • AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello, @atuldeo , create a collection with your filter:

    ClearCollect( colName, YOUR FILTER)

    AhmedSalih_0-1665411962863.png

     

     

    Then use the collection with the SortByColumn and search instead of the filter and everything else should be the same.

     

    Note: ClearCollect can be in the OnVisible property of the screen where you have your formula or wherever you call that Formula.

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

     

     

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @atuldeo,

     

    Functions such as Text and Lower are not delegatable. To resolve the delegation issue, you could set the value of Text(PocCurrentStatus) in a variable outside of this filter function and use the variable instead in the filter. Same goes for the lower function, you'll probably need to convert your lclPocFilterRequestor to mixed case to match the data source.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • atuldeo Profile Picture
    17 on at

    @AhmedSalih its actually on the the items property of the gallery 

    atuldeo_0-1665476202235.png

    and there is a lot of code inside Filter, Search or SortbyColumns.

  • atuldeo Profile Picture
    17 on at

    Even if I remove the Lower function then also I am seeing the delegation warning and even if I do make it mixed case won't it like not recognize some or the other users on the app?

  • atuldeo Profile Picture
    17 on at

    Will StartsWith() be used in that place?

  • atuldeo Profile Picture
    17 on at

    Will StartsWith() be used in that place?

  • AhmedSalih Profile Picture
    6,680 Moderator on at

    @atuldeo, use the ClearCollect function in the OnVisible property of the screen then use the collection instead of the Filter. 

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

  • atuldeo Profile Picture
    17 on at

    Tried creating the variable outside filter Function using Set() and UpdateContext() nothing worked for me, Also tried delegable function StartsWith() in that particular line but it did not help again

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard