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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Combine multipl...
Power Automate
Answered

How to Combine multiple JSON result into single value.

(0) ShareShare
ReportReport
Posted on by 47

How to combine two JSON Values into single value.

This one might be very simple for you guys but i am not able to figure this out. 
Below example shows 2 values 

Learn2Live_0-1665117390659.png

I would like to combine them in to one value like this  2022-10-10 , 2022-10-11


I tried using appending the array value and still no luck 

Learn2Live_1-1665118327727.png

 

Any suggestions how to get this result - 2022-10-10 , 2022-10-11
Thank you

Categories:
I have the same question (0)
  • Verified answer
    Paulie78 Profile Picture
    8,422 Moderator on at

    Try this.

     

    Add a new Select action after your parse JSON action.

     

    In the From field select from dynamic content the body from Parse JSON.

    In the map section click the little button on the right hand side that says "Switch map to text mode"

    In the map section from dynamic content choose Value (from Parse JSON).

     

    Add a Compose action and use this expression:

     

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

     

    That should be it. Screenshot to make it clearer:

    Join.png

     

    Blog: tachytelic.net

    YouTube: https://www.youtube.com/c/PaulieM/videos

    If I answered your question, please accept it as a solution 😘

  • Learn2Live Profile Picture
    47 on at

    @Paulie78  Thank you, That almost solved the problem
    My compose output looks like this now - {"Value":"2022-10-10"},{"Value":"2022-10-11"}

    Learn2Live_0-1665156774577.png

    how do i remove the other values to get only the date...  

  • Learn2Live Profile Picture
    47 on at

    Tried using the replace function
    (replace(outputs('Compose'),'"Value":',''),';',',')

    & ended up with this output - {"2022-10-10"},{"2022-10-11"}

    still not able to figure out how to remove the “parentheses” / "curly brackets"

    Any suggestions 

     

  • Learn2Live Profile Picture
    47 on at

    Thanks @Paulie78  
    I was able to get this working from one of your previous suggestion.


    replace(replace(outputs('withBrackets'), '["', ''), '"]', '')
    https://powerusers.microsoft.com/t5/Building-Flows/Removing-brackets-from-a-Compose-Output/td-p/852590

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard