Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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.

 

Categories:
  • atuldeo Profile Picture
    17 on at
    Re: Delegation issue with my Dataverse table

    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

  • AhmedSalih Profile Picture
    6,678 Super User 2025 Season 1 on at
    Re: Delegation issue with my Dataverse table

    @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
    Re: Delegation issue with my Dataverse table

    Will StartsWith() be used in that place?

  • atuldeo Profile Picture
    17 on at
    Re: Delegation issue with my Dataverse table

    Will StartsWith() be used in that place?

  • atuldeo Profile Picture
    17 on at
    Re: Delegation issue with my Dataverse table

    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
    Re: Delegation issue with my Dataverse table

    @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.

  • ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on at
    Re: Delegation issue with my Dataverse table

    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.

  • AhmedSalih Profile Picture
    6,678 Super User 2025 Season 1 on at
    Re: Delegation issue with my Dataverse table

    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


     

     

     

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics