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 Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,305)