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 / GroupBy Person Column ...
Power Apps
Answered

GroupBy Person Column and Sum

(0) ShareShare
ReportReport
Posted on by 77

Greetings All!

Hoping to get some help...I have a SP List below:

marney_0-1649418517827.png

Member is a Person column.

There will be multiple entries per Member (it's a walking tracker app so users will log in daily and submit their steps).

I would like to group the entires by Member and get the sum of all the "Steps" column per Member.

Thanks so much in advance 🙂

 

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @marney 

    You will not be able to group on a complex column (the person column), so you will need to pull a simple column out of it to group on.

    Ex:  

    AddColumns(
     GroupBy(
     AddColumns(yourDataSource,
     "_member", Member.Email
     ),
     "_member", "_records"
     ),
     "_steps", Sum(_records, Steps)
    )

     

     

    I hope this is helpful for you.

  • marney Profile Picture
    77 on at

    ah Randy...that was more than helpful, it was a life saver! Thank you so much!!

    I'm sorry to trouble you as I saw you helped someone else with another issue that I am suddenly experiencing.

    On Success of my Form, I perform a ForAll patch to a "child" list using LastSubmit of the form (i.e {Title:formname.LastSubmit.Title, ID=formname.LastSubmit.ID) etc.

    All of a sudden, it's starting to give me error "Title:Field Title is required".

    I restored a previous version and the Submit was working fine so I continued to build that up, now all of a sudden, its also doing the same thing!!

    Any clue you could give me would be hugely appreciated..done the usual, save, publish, close, created a new collection, new child list in SP).

    Thanks again,

    marney

  • marney Profile Picture
    77 on at

    Ignore the above please Randy...on my Submit, I was performing a Reset and New Form; cleared that out and all is working again 🙂

    Thanks again for your help mate.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard