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

Notifications

Announcements

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,073 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,974 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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard