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 / Consolidate Array Output
Power Automate
Answered

Consolidate Array Output

(0) ShareShare
ReportReport
Posted on by 45

So I have an array output which needs to be consolidated. Finding it difficult to get the consolidated array output.

MoshinK786_0-1713067794154.png

 

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @MoshinK786 

     

    Could you show how output looks like in consolidated form ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • MoshinK786 Profile Picture
    45 on at

    So basically in the above screenshot example it should return:

     

    [
    {
    “JobTitle”: “Manager Human Resources”
    }
    ]

     

    the value of JobTitle will keep changing but should consolidate the same JobTitle values as one item.

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @MoshinK786 

     

    assuming that array look like this

    Nived_Nambiar_0-1713077417140.png

     

    use union function on array to get distinct/unique results

    Nived_Nambiar_1-1713077454580.png

     

    here i have applied union expression on variable Arr1 which has the array to be consolidated

    expression - 

    union(variables('Arr1'),variables('Arr1'))
     
    Result
    Nived_Nambiar_2-1713077518598.png

     

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • MoshinK786 Profile Picture
    45 on at

    Thanks @Nived_Nambiar . this worked perfect.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard