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 with a Group...
Power Apps
Answered

Filtering with a GroupBy and AddColumns

(0) ShareShare
ReportReport
Posted on by 402
GroupBy(
 AddColumns(
 ISK_Jails,
 "SSNMatchScore",
 If(
 CountIf(
 ISK_Consumers,
 SSN = SocialSecurityNumber
 ) > 0,
 3,
 0
 ),
 "FirstName",
 First(Split(Name," ")).Result,
 "MiddleName",
 First(LastN(Split(Name," "),2)).Result,
 "LastName",
 Last(Split(Name," ")).Result
 ),
 "cr4d3_name",
 "FirstName",
 "MiddleName",
 "LastName",
 "cr4d3_transtype",
 "SSNMatchScore",
 "cr4d3_socialsecuritynumber",
 "cr4d3_recordid","cr4d3_active",
 "GroupedRecords"
)

If I want to include a Filter on the above statement, what is the proper syntax or placement for the Filter?  I have a column in the dataverse table that is cr4d3_active and I want to filter where only Active=true.  I have tried putting Filter at the beginning and then right after the GroupBy but neither is working and perhaps my logic is flawed also.  Is there a better best-practice for this?  Thanks for the information.

Categories:
I have the same question (0)
  • Verified answer
    HenriDesmet59 Profile Picture
    295 on at

    Hello @iskguy ,

     

    I think you can put your filter just around your AddColumn : 

    GroupBy(
     Filter(
     AddColumn(...),
    //Filter
     )
    )

     

    Tell me if It's works 🙂 

     

    Henri

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard