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 / Filtering out an Entir...
Power Apps
Answered

Filtering out an Entire Group (GroupBy)

(0) ShareShare
ReportReport
Posted on by 32

Hey all, a bit new to Power Apps.

 

I'm currently attempting to filter out an entire group based off a value found in the nested table when using the GroupBy function.

Here's an example dataset and what I'm trying to achieve:

 

RMGG_0-1639605286136.png

 

I want to remove the entirety of a Job if even one of the cells in column two states complete.

This would remove Job1 and Job3, leaving Job2 data to be viewed within my app.

 

The dataset will eventually reach the delegation limit, and I'd rather fix a future problem now.

 

I've searched for other people running into this same problem, but either my situation is unique, my searching needs different wording, or I'm missing the  painfully obvious as I've not found any solutions.

 

I'd greatly appreciate any assistance, and let me know if I need to post more info.

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @RMGG 

    Consider the following formula for what you need:

    GroupBy(
     Filter(yourDataSource,
     !(column2 = "Complete")
     ),
     "JobColumn",
     "_data"
    )

     

    I hope this is helpful for you.

  • RMGG Profile Picture
    32 on at

    I appreciate the fast reply, Randy.

     

    This is close to what I'm looking for, but it only filters out the singular complete item, not the entire group.

    I also receive a delegation warning using !

     

    I realize now I forgot to mention I'm pulling information from a SharePoint list.

    I understand that a proper database like Azure would be far better, but that's not in the cards for my company at the moment.

     

    Is it possible to pull the filter function to outside of GroupBy to filter out entire groups?

     

    Thank you

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @RMGG 

    SharePoint is just fine!  

    Sorry I misunderstood your desire to drop the entire group.

    In that case, the following will do that:

    Filter(
     GroupBy(
     yourDataSource,
     "JobColumn",
     "_data"
     ), 
     !("Complete" in _data.column2)
    )
  • RMGG Profile Picture
    32 on at

    This works as advertised!

     

    Delegation is something I'm only just beginning to get a grasp on, and what's ok and not.

     

    I greatly appreciate your help!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard