web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Join values of the array into single string

(3) ShareShare
ReportReport
Posted on by 20
Hi,
 
Would someone be able to find a simple solution to join array values into a single string?


I have an output data that looks like this: 

 
[
  {
    "FirstName""Peter"
  },
  {
    "FirstName""James"
  }
]
 

I am trying to get the output of it that would say 

Peter and James

Any help is much appreciated.
Thanks!
 
I have the same question (0)
  • Verified answer
    Jimmy Passeti Profile Picture
    937 Most Valuable Professional on at
    Hello,
    I think you are trying to do this using Power Automate.
    If this is the case, then you can use the join function.
     
    Regards,
    Jimmy Passeti | Microsoft MVP
    ✅ Please mark as Verified if this answered your question
  • Suggested answer
    Satyam Prakash Profile Picture
    1,117 on at

    Use this expression in a Compose or any text field

     
    join(body('Select'), ' and ')
     

    🔸 Replace Select With the name of your Select action that extracts the FirstName values.

     

    Example Flow Snippet:

     

    1.  

      Select → Extract FirstName

       
      {
      "From": your array,
      "Map": {
      "": item()['FirstName']
      }
      }

    2.  

      Compose (or similar) → Use:

       
      join(body('Select'), ' and ')


    3.  
     

    Output: Peter and James

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 149

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 79 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 62 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans