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 / How to solve the deleg...
Power Apps
Answered

How to solve the delegation warning message and this error on PowerApps formula and

(0) ShareShare
ReportReport
Posted on by 34

Hello,

 If I scan the same barcode again it should show the error message so I used this formula but it doesn't work.

Screenshot 2023-11-15 121043.pngScreenshot 2023-11-15 121232.png
Can anyone help with this?? 

Categories:
  • Verified answer
    Sickle-Cell Profile Picture
    600 Super User 2024 Season 1 on at

    Hi,

     

    The issue is StartsWith requires two arguments and you've only given one. If you want to look up values where AssetSN Starts With LabelSN_7.Text try this instead. StartsWithAssetSN, LabelSN_7.Text )

  • Anandhavalli Profile Picture
    34 on at


    Hi..
    Thank @Sickle-Cell for your reply. As you said I used that formula, But that also showed a delegation warning error.

    Screenshot 2023-11-15 154225.png
  • Verified answer
    Sickle-Cell Profile Picture
    600 Super User 2024 Season 1 on at

    Hi @Anandhavalli,

     

    As far as I know there isn't a way to remove the delegation warning for this example as CountRows isn't a delegatable function. It can, however, be safely ignored so long as the data you are returning doesn't hit the delegation limit. One way to do this is by swapping the CountRows to outside of the Filter function then ensuring that the filter only ever returns less than 2000 records.

    One option you do have that should remove the delegation warning is by taking the data into a collection and running the function exactly as you have it, but using the collection as opposed to the data source. The downside to this is that if you are patching information to a server and want it to update quickly, you need to either also patch to the collection. 

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard