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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard