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 Automate / Combine values from li...
Power Automate
Answered

Combine values from list rows in present tables

(0) ShareShare
ReportReport
Posted on by

Hi Community,

 

I need your helping hand please for the follwing challenges.

 

I runs through a list in present table to add new items to a sharepoint list. All wens well so far. Now I get to a point to add the values from multiple lines in the excel to one particular Item (field) on sharepoint.

 

Exampel what I like to archive:

Unipe IDCommentcomment by ITEM IDSharepoint field Comment (multiple line text) 
1234This is line 1Mr X 1234This is line 1 - Mr X
and this is line 2 - Ms Y
and point 3 - Mr T
1234and this is line 2Ms Y   
1234and point 3Mr T   
555TrallalalMr Y 555Trallalal - Mr Y
Cheers - Ms X
555CheersMs X   

 

So I now about 'join' expression to combine the excel rows. I run through 'apply to each' - but how do I "collect" all relevant values that are related to one Unique ID - add it to the sharepoint Item and then run to the next one doing similar?

 

Thx a lot for your advise as I try already a lot to archive this.

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Scherodan ,

     

    I made a sample for you.

    vxiaochenmsft_0-1686798336180.png

    vxiaochenmsft_1-1686798362840.png

    vxiaochenmsft_2-1686798389497.png

    vxiaochenmsft_3-1686798413893.png

    concat(item()?['Comment'],' - ',item()?['comment by'])
    vxiaochenmsft_4-1686798446659.png

    {"ITEM ID":@{items('Apply_to_each')},"Sharepoint field Comment":@{body('Join')}}

    vxiaochenmsft_5-1686798479683.png

     

    vxiaochenmsft_6-1686798496591.png

     

    Best Regards,

    Wearsky

  • Scherodan Profile Picture
    on at

    @v-xiaochen-msft - first of all a huge thx you and please take may apologies for the very late response. Due to illness I wasn´t in place to implemented you logic.

    Now have done - adjust a bit and it really works fine!

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard