web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : hiQ9raUclFPOhWwOS3mblK
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Powerfx GroupBy Records Issue

Like (0) ShareShare
ReportReport
Posted on 22 Mar 2025 03:42:42 by 8
It seems that, despite no delegation issues, GroupBy function only considers the first "few thousand" records.  
Case: I queried my data source with Filter function and it returned approx. 10k records. I stored those records in a screen context variable.
I then used GroupBy on the said screen context variable, using the documented parameters of the function. The function did not present any errors. But, after looking at the result, it only ended up aggregating the first 2k rows or so and yielded an incomplete result.
 
Anyone else notice this issue?
I have the same question (0)
  • BCBuizer Profile Picture
    22,366 Super User 2025 Season 2 on 22 Mar 2025 at 12:30:16
    Powerfx GroupBy Records Issue
    Hi!
     
    The GroupBy() function is strictly non-delegable and hence subject to the Data Row Limit, regardless of the data source (https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/delegation-overview#nondelegable-functions).
     
    Not having a delegating warning unfortunately doesn't mean that all your formulas are delegable. For instance, for collections no warning are shown (https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/delegation-overview#delegation-and-collections), despite the ClearCollect function also not being delegable).
     
    This means you will have to find another solution to display your data. Perhaps you can elaborate what you are trying to achieve so we can look for a solution.
     
     
    If this reply helped you in any way, please give it a Like 💜 and in case it resolved your issue, please mark it as the Verified Answer ✅.
  • PPSeason80 Profile Picture
    8 on 22 Mar 2025 at 12:42:26
    Powerfx GroupBy Records Issue
    in our case, we are a large organization that is looking to adapt PowerApps into our workload. This is extremely limiting for us. Are there any efforts underway to remove delegation limits on these functions? If so, when?
  • BCBuizer Profile Picture
    22,366 Super User 2025 Season 2 on 22 Mar 2025 at 13:52:10
    Powerfx GroupBy Records Issue
     
    I'm not aware of any effort to make this function delegable. However, I can't think of a scenario where this much data is needed in Power Apps. In case you want to include any type of reporting, usually Power BI would be the way to go and it can be embedded in Power Apps as well.
     
    In case you are interested, my offer to look at a way to make this work still stands if you can explain what it is you are trying to achieve.
     
     
     
    If this reply helped you in any way, please give it a Like 💜 and in case it resolved your issue, please mark it as the Verified Answer ✅.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 629 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 232 Moderator

Last 30 days Overall leaderboard
Loading complete