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 / Concatenate column val...
Power Apps
Answered

Concatenate column values with matching types

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

So I have a table with Type of enquiry, date and then comments . I have a gallery set up to bring back the count of those that are repeated to give me a list of the top contacts for that day. I now want to concarenate all the comments that match the enquiry type and the date selected. I have managed to lookup and get the first comment but i cant seem to get it to look again and find the next one. Please see attached. Any help would be very much appreciated! 

Categories:
  • Verified answer
    v-yuxima-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you want to concatenate the comments that based on the date and enquiry type you selected?

    What data source do you use?

     

    I use Table in Excel to test.

    You can try the following workaround.

    Data Source:

    Format it as Table and name it Table1

    20190207concatenatecolumnsdatasource1.png

    App Test:

    Add two dropdown controls and rename them aas Dropdown1_Date,Dropdown2_EnquiryType,add one listbox control and rename it as ListBox1_Comments, add one label and rename it as Label6_ConcatComments.

    Dropdown1_Date.Items: Distinct(Table1,Date)

    Dropdown2_EnquiryType.Items: Distinct(Table1,'Enquiry Type')

    ListBox1_Comments.Items: Filter(Table1,Date=Dropdown1_Date.Selected.Result,'Enquiry Type'=Dropdown2_EnquiryType.Selected.Result).Comments

    Label6_ConcatComments.Text: Concat(Filter(Table1,Date=Dropdown1_Date.Selected.Result,'Enquiry Type'=Dropdown2_EnquiryType.Selected.Result).Comments, Comments & "; ")

    20190207apptest1.jpg

    Result Test:

    20190207concatcommentsresulttest1.gif

     

    Hope this can be helpful.

    Best Regards.

    Yumia

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 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard