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 / Concatenating to strin...
Power Apps
Answered

Concatenating to string from GroupBy items

(0) ShareShare
ReportReport
Posted on by 100

Hi all,

 

I couldn't quite figure out how to phrase this question, so I hope the following explanation makes sense. Data is system-generated CDS tables.

 

I have a series of time entries as follows:

 

DatePersonProjectTask

Hours

GUID

03/20/21JaneData ModernizationDevelopment4abcdef
03/20/21JaneData ModernizationMeeting2123456

 

I've used GroupBy to roll up to a project level:

 

DatePersonProjectHours
03/20/21JaneData Modern.6

 

However, I still need the separate GUIDs attached to the aggregated entry so I can use them elsewhere. What I'm hoping I can do is somehow concatenate them during the GroupBy to appear as follows:

 

DatePersonProjectHoursGUIDs
03/20/21JaneData Modernization6abcdef, 123456

 

Is this possible, or at least not horrendously complex? The existing aggregation formula is below:

 

 

AddColumns(
 GroupBy(
 AddColumns(
 Filter(
 'Time Entries','Time Entries (Views)'.'Time Entries for Approval',
 Date > VarSelectedStartDate && Date < VarSelectedEndDate),
 "DateString", Text(Date, ShortDate),"ResourceName",'Bookable Resource'.Name, "ProjectName", Project.'Project Name'),
 "DateString","ResourceName","ProjectName","Data"),
 "Hours",Sum('Data',Duration))

 

 

Categories:
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @RMDNA add another column. 

    AddColumns(
    GroupBy(
    AddColumns(
    Filter(
    'Time Entries','Time Entries (Views)'.'Time Entries for Approval',
    Date > VarSelectedStartDate && Date < VarSelectedEndDate),
    "DateString", Text(Date, ShortDate),"ResourceName",'Bookable Resource'.Name, "ProjectName", Project.'Project Name'),
    "DateString","ResourceName","ProjectName","Data"),
    "Hours",Sum('Data',Duration)

    ,"Guids",
    Concat('Data', Guid & ", "))

     

    Then add another label to your gallery with Text = Left(ThisItem.Guids,Len(ThisItem.Guids)-2)

    rubin_boer_0-1617306127026.png

     

    hope it helps 

     

     

     
     
  • RMDNA Profile Picture
    100 on at

    That was a lot simpler than I thought it would be. Thank you!

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard