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 / GroupBy Multiple People
Power Apps
Answered

GroupBy Multiple People

(0) ShareShare
ReportReport
Posted on by 19

I have a gallery of items that can be selected with a checkbox. Each item has one to many people assigned to it. I store the selected items in a collection colMailItems. In a next step I want to mail the assigned items to the respective people, but I want to send one mail only. That means, if 2 or more items have the same people assigned to it, I want one mail to contain 2 or more links to the items. 

 

I tried to use the 

 

 

GroupBy()

 

 

function, but it seems to struggle with multi-select people columns:

 

 

 

GroupBy(colMailItems, AddColumns(colMailItems, "ResponsibilityTEXT", Concat(colMailItems.Responsibility,DisplayName, ", ")))

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Rennacker54 Profile Picture
    19 on at
    GroupBy(AddColumns(colMailItems, "ResponsibilityTEXT", Concat(ThisRecord.Responsibility, DisplayName, "; ")), "ResponsibilityTEXT", "_data")

    Figured out the solution - in case anyone has a similar issue

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard