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 / Merge two array into o...
Power Automate
Unanswered

Merge two array into one array

(0) ShareShare
ReportReport
Posted on by 73

NeohLooi_0-1612335088689.png

I have the flow which getting two set of data from two table and I want to merge two into a single array. Both of them have one common primary key which is Item Type.

For left hand side, I get all row which Item Type equal to Book, it will return all Book data, same goes to right hand side. 

I want combine both array into single array for each row return from both table, I tried union but it seem not working in my case.
Any solution on my problem here? Any help will be great. 

Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @NeohLooi I found a similar thread here : 

     

    https://powerusers.microsoft.com/t5/General-Power-Automate/Append-to-Array-Variable-action-is-not-working/td-p/331436

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • VictorIvanidze Profile Picture
    13,079 on at
  • NeohLooi Profile Picture
    73 on at

    After I tried on the solution....it seem like just assign the value to array variable...I tried the output is not merge....
    Or it have different way to do it in my current scenario?

  • takolota1 Profile Picture
    4,980 Moderator on at

    Are you looking to merge columns from 2 tables or to just append one table to another?

  • kgreen8790 Profile Picture
    189 on at

    I had a similar issue and had to use "select" connector for each table to map keys then I could union the outputs from the "select" connectors in "compose" connector.

  • AlexandrePicque Profile Picture
    74 on at

    Hi,

     

    I had two tables to join in one of my flows too and I used the "union" function to join my two tables.

    I don't know if this is what you were looking for.

    2023-04-19_16h51_41.png

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
Haque Profile Picture

Haque 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard