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

Concatenate columns from list

Hello,

 

I have a apply to each on a sharepoint list, and for each result I get I want to define a variable where I concatenate 2 columns from the list.

Ex: I have a colums "father: jon" and other "child: jack" and I want to have "jon-jack"

 

I tried this:

concat(triggerBody()?['father'],'-', triggerBody()?['child'])
But it didn't work...
 
Someone can help?
1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Concatenate columns from list

Hi @Animoroly , why not just add the two columns from the SharePoint list into a Compose action from the dynamic content with a dash between them. You can then use the output from the Compose to do something else. In my example in the image below below it updates another column with the result.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

0-Flow.png

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Concatenate columns from list

Hi @Animoroly , why not just add the two columns from the SharePoint list into a Compose action from the dynamic content with a dash between them. You can then use the output from the Compose to do something else. In my example in the image below below it updates another column with the result.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

0-Flow.png

View solution in original post

Super User
Super User

Re: Concatenate columns from list

@Animoroly 

Quick question so I understand your issue a little better....

Does the data stored in the column look like "Father: John" or is the column name Father and the data stored in that column "Jon"?

 

What was the output of the concat expression that you used? 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,801)