cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aylarja
New Member

SharePoint Lists and Delegation: Not Functioning as I Would Expect

New to PowerApps, struggling with my understanding of how delegation should work with SharePoint lists. For test purposes, I set my delegation limit to 1 to quickly see when delegation was not working. I am populating dropdown lists from very limited SharePoint lists (4 values in one, and about 25 values in the other). For the first dropdown, I simply want to pull all values from the SP list by providing the data source name for that list. For the second dropdown, I filter the results based on the selection in the first one. Both of these queries are abiding by the non-delegable data row limit, which is not what I expect from the documentation I've read.

 

Additional info: for the first dropdown, even if I filter the list using criteria that should include all values, I only retrieve up to the non-delegable limit. The second dropdown is filtered based on the ID value of the selection in the first dropdown, and I understand that when filtering on an ID field, only the = predicate may be used to allow the query to be delegable. However, as noted, this query is also abiding by the non-delegable limit. More confusingly, I get no warnings or highlight markings to indicate that PowerApps is unable to delegate. Can anyone provide clarification on the behavior I'm seeing vs. what I thought should happen from reading PowerApps documentation? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

Binding to a dropdown is by definition non-delegable, no matter what function you use.  If you want to test then then bind the dropdown to a collection and use the formula to populate the collection.  You should get better testing results that way.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

Binding to a dropdown is by definition non-delegable, no matter what function you use.  If you want to test then then bind the dropdown to a collection and use the formula to populate the collection.  You should get better testing results that way.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


@Pstork1 wrote:

Binding to a dropdown is by definition non-delegable, no matter what function you use.  If you want to test then then bind the dropdown to a collection and use the formula to populate the collection.  You should get better testing results that way.


Pstork1, thank you for that clarification. I had not understood that binding to dropdowns makes a query non-delegable. That is very helpful to know, and I will investigate binding to collections instead.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,288)