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 / How to concatenate a m...
Power Automate
Unanswered

How to concatenate a multiple select value

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have a flow where I need to get into the body of an email all the values that are founded in a multi value field of a Sharepoint list. How could I get to concatenate this multiple values into just one string value?

 

image.png

I was trying to concatenate the values as in the picture above, but naive me it didn't work. I'm not able to get the outpute of the compose action out of the apply to each loop. 

 

Please help on how I could concatenate all the values in this data field. 

 

 

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    A couple of ways you can do this: 

    1. Initialize a string variable before the apply to each action and leave the value empty. Apply to each on the multi select column and then add an action to append to string variable and then select the current item in the value here. 

     

    2. Add a compose action and without using the apply to each loop in the compose action, use the expression Join('sharepointcolumnhere', ';') this will join all the choices with ';' as a delimiter.

     

    Hope this helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Please refer to screenshot below to create the flow:

    1.png

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Thanks @v-alzhan-msft , @yashag2255 !!

     

    It worked perfect!

     

     

  • Allybartz Profile Picture
    11 on at

    Hello!

     

    I am hoping you can assist me. I am new to Power Automate. 🙂

     

    I am getting this error on the 'Compose' step when utilizing the compose and join expression option
    .

    "InvalidTemplate. Unable to process template language expressions in action 'Compose' inputs at line '1' and column '14831': 'The template language function 'join' expects its first parameter to be an array. The provided value is of type 'String'. Please see https://aka.ms/logicexpressions#join for usage details.'."

     

    Annotation 2020-06-18 113215.png

     

    @yashag2255 wrote:

    Hi @Anonymous 

     

    A couple of ways you can do this: 

    1. Initialize a string variable before the apply to each action and leave the value empty. Apply to each on the multi select column and then add an action to append to string variable and then select the current item in the value here. 

     

    2. Add a compose action and without using the apply to each loop in the compose action, use the expression Join('sharepointcolumnhere', ';') this will join all the choices with ';' as a delimiter.

     

    Hope this helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!




  • digitalpenny29 Profile Picture
    4 on at

    What does this look like if you have more than one column that has multi select values? I am not an expert, but I am trying to concatenate multiple columns that are in SharePoint.

  • BarryEdwards Profile Picture
    2 on at

    Hello, I am using this solution on a flow of my own, but I have 7 multi-select input as I am using it as a form, I have found that I can stack the solution provided for them so far, butt I am wondering if there is a way to have a delimiter added between the composed values to keep them separated as I am taking all the inputs and adding it into a row in excel afterwards.

     

    Solved, I missed the semi colon placed behind the input in the append value

     

  • UweGrunewald Profile Picture
    56 on at

    Dear all, please save my day. I have a multiple-choice column with the content shown below.

    I have thoroughly read through this forum, other resources and even asked bing. It all doesn't work to get the desired output:

     

    "Domain, Website, MS365" from it?

     

    What the hell am I doing wrong?

     

    Please help, Uwe

     

    [
    {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id": 0,
    "Value": "Domain"
    },
    {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id": 1,
    "Value": "Website"
    },
    {
    "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    "Id": 2,
    "Value": "MS365"
    }
    ]

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard