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 / Concat with Groupby
Power Apps
Answered

Concat with Groupby

(1) ShareShare
ReportReport
Posted on by 5,836 Moderator

I have this setup in a gallery which provides the result in the image.

 

ClearCollect(
RequestIndex,
DropColumns(
AddColumns(

GroupBy(

Filter(AllRequests, RequestStatus = "Submitted" And AuthorManager = varUser),
"RequestNumber", "Submitter","Result"),
"Employees",
Concat(Result, Title & Char(10))

),
"Result"
)

)

 

GroupBy.png

 

What I would like to do is to have the concat to return not only the title but a combination of the Title and Approver columns, looking something like this, but am not sure how to add the approver piece into the equation.  I tried a couple things and failed miserably  😬:

 

Hickok, Jane - Washington, George

Doe, John - Hancock, John

User, Jeremy - Gwinnett, Button

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

    @JR-BejeweledOne 

    Assuming that Approver is a person column in your list...consider the following formula:

    ClearCollect(
     RequestIndex,
     DropColumns(
     AddColumns(
     GroupBy(
     Filter(AllRequests, RequestStatus = "Submitted" && AuthorManager = varUser),
     "RequestNumber", 
     "Submitter",
     "Result"
     ),
     "Employees", Concat(Result, Title & Approver.DisplayName & Char(10))
     ),
     "Result"
     )
    )

     

    I hope this is helpful for you.

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    I thought I had tried that already, not sure what I did that didn't work, but this worked!   Thanks

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard