cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HubbardInc
Helper III
Helper III

Delegation Issue

Can someone please help me with this delegation warning. I'm not sure how to change my formula for this gallery to be delegate-able. I have the same problem with my item counters as well. Thank you.PowerApps FilterGallery7.jpgPowerApps FilterGallery8.jpg

6 REPLIES 6
eka24
Super User
Super User

If the status column is a choice column, change that portion to;

 

StatusColumn.Value

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

On the first picture i sent, on the if statement, that option worked, however when performing the CountRows function, it did not. CountRows is not a delegate-able function? 

Did you change to StatusColumn.Value?

Also:

Yes CountRows cannot be delegated. How many rows are you dealing with, more than 2000 even after filtering?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

This is the current formula.

 

CountRows(Filter('IT Support Tickets','Ticket Status'.Value = "In-Progress"))

 

It should return the count of items where the sticket status = "In-Progress"

 

But if CountRows can't be delegated, what are my options?

You didn’t mention what your source for this is. If you use common data service, you can build system views filtered to the records with the desired status to filter your gallery https://www.google.com/amp/s/www.inogic.com/blog/2019/12/avoid-delegation-while-filtering-records-in...

 

how many total records are in your source?

You can use a collection but i asked you how many rows do you have?

Also on you File...Advance settings have increase the delegation to 2000?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,193)