cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LuisGuzman98
Level: Powered On

How to concatenate a multiple select value

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. 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User
Dual Super User

Re: How to concatenate a multiple select value

Hi @LuisGuzman98 

 

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!

View solution in original post

Community Support Team
Community Support Team

Re: How to concatenate a multiple select value

Hi @LuisGuzman98 ,

 

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.

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: How to concatenate a multiple select value

Hi @LuisGuzman98 

 

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!

View solution in original post

Community Support Team
Community Support Team

Re: How to concatenate a multiple select value

Hi @LuisGuzman98 ,

 

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.

View solution in original post

LuisGuzman98
Level: Powered On

Re: How to concatenate a multiple select value

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

 

It worked perfect!

 

 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,045)