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

GroupBy and Filter

I'm trying to groupby and filter by not sure how to put in the filter option.  This is the formula i have for the groupby:

 

ClearCollect(Department, GroupBy(Transfers, "CostCentre","Orders"))

 

Within the "Orders" list, i would like to filter the results based on a Yes/No field.  If Completed is Yes then only those records should be displayed.

 

thanks

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: GroupBy and Filter

Hi @neill_long ,

Note addressing your filter question only -  also Boolean filter are not delegable. 

ClearCollect(
   Department, 
   GroupBy(
      Filter(   
         Transfers, 
         Completed = true
      ),
      "CostCentre",
      "Orders"
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

1 REPLY 1
Highlighted
Community Champion
Community Champion

Re: GroupBy and Filter

Hi @neill_long ,

Note addressing your filter question only -  also Boolean filter are not delegable. 

ClearCollect(
   Department, 
   GroupBy(
      Filter(   
         Transfers, 
         Completed = true
      ),
      "CostCentre",
      "Orders"
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,769)