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 / Interpreting a non-del...
Power Apps
Unanswered

Interpreting a non-delegable condition in the Monitor

(1) ShareShare
ReportReport
Posted on by 3,347

I have found cases in the past where using a With() statement can mask the non-delegable warning.  I have a case where everything looks good, but when I bring up the monitor, I see this:

 

martinav_0-1692654621945.png

 

In this case, it appears 2000 rows (My row limit setting) are being queried.  Does this mean if my table is 5000 rows, that I'm not getting a full filter result?  

 

See?  It all looks happy here.  VIEW_ODERBOARD_DATA is a SQL view.  I know that the 'in' condition is supported with delegation.  I have used it successfully in the past with text datatypes.

 

martinav_1-1692654852048.png

 

Or, do I not need to worry about this?

 

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @martinav 
    I think it's because the CountRows function is not delegable to any data source (except Dataverse).

    I believe CountRows is only delegable in Dataverse specifically only, and only when the Enhanced Delegation for Dataverse setting is turned on. 

     

    However even in Dataverse with the Enhanced Delegation for Dataverse setting turned on, there are certain caveats to using CountRows in particular, as described in the official documentation linked above.

     

    You say that when you use With, it masks the delegation warning for you.

    When you don't use nested With scopes )or any With scopes at all) and intentionally repeat everything overtly, does the delegation warning for CountRows appear then?

    If so, I may recommend as a workaround to write it without the With scopes, then when done testing and writing the formula, use your With scopes after that.

     

    I am not sure if perhaps it is expected behavior or not but I guess you can ask Microsoft here if not sure.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard