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 warning's j...
Power Apps
Unanswered

Delegation warning's just appeared today after i've released my application to users smoothly more than 3 months!!

(0) ShareShare
ReportReport
Posted on by 17
I've just created this application and released to the users without any delegation warnings and errors.
But today this delegation warning's just appeared (as the pictures) ,for dropdown and comboBox fields, and I haven't changed anything. This asked me to remove 'Sort' and disable 'IsSearchable' even my data set are not exceed the limitation!
Please suggest why this problem just happen today?????
issue2.PNG
issue.png
Categories:
I have the same question (0)
  • Vijay Tailor Profile Picture
    2,961 on at

    Hi @PornpiroonT ,

    Follow the below-Highlighted Steps.
    Click on File Tab and do the setting.

    VijayTailor_0-1601631156418.png

     

    Thanks,
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."


     

  • PornpiroonT Profile Picture
    17 on at

    I did setting data row limit as 2000 before open this ticket, but this problem still happened.

  • Vijay Tailor Profile Picture
    2,961 on at

    Hi @PornpiroonT ,

    Firstly, the delegation warning is not an error. So your formulas do not have any problem.

    Let me tell you more about delegation.

    Actually, delegation is powerapps itself limit.

    PowerApps could only deal with at most 2000 records in local.

    So when your record is larger than 2000, you app may not perform good, for example it will return wring result.

    To avoid delegation's effect, there are two solutions:
    1)only use delegateable data source and delegateable functions

    Then the data could be dealt in data source, not in powerapps.

    Here's a doc about delegateable functions of sharepoint list, plese modify your formulas based on this:

    https://docs.microsoft.com/en-us/connectors/sharepointonline/

    2)save data in collection

    In collection, there will not have delegation problem

     

    If your record is smaller than 2000, then do not need to worry about delegation warning. It will not effect your app's performance.

    Just need to change this limit to 2000:

     

    Here's a doc about delegation in details for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview
    Source - https://powerusers.microsoft.com/t5/Building-Power-Apps/Delegation-warning-in-combo-box/td-p/436509.

    Thanks,
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."


  • mdevaney Profile Picture
    29,991 Moderator on at

    @PornpiroonT 
    What code are you using that caused this error?  Please share a screenshot.

     

    I agree with @VijayTailor: if your records will never exceed 2,000 rows you have nothing to worry about.  But if they will in the future we should try to solve the underlying problem if its possible.

  • PornpiroonT Profile Picture
    17 on at

    First picture is an example of the comboBox field that I created before today, it works well without any delegation warning. The warning's just appeared today but overall application still work.

     

    Second picture is an example of the comboBox field that I am trying to create today by setting all property like I did before, but since today 'Sort' the item seems like it doesn't get along with 'IsSearchable' as it was.

  • mdevaney Profile Picture
    29,991 Moderator on at

    @PornpiroonT 
    Actually, the DISTINCT function is causing the problem.  It is not delegation-friendly.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • PornpiroonT Profile Picture
    17 on at

    I still get problem creating new comboBoxs. This seems 'Sort' the item cannot get along with 'IsSerchable' as it was. This problem just happened today.

    issue3.png
  • Vijay Tailor Profile Picture
    2,961 on at

    Hi @PornpiroonT ,

    You can Use Like below.

    VijayTailor_0-1601655623762.png

    Thanks

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard