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 Apps / Patch one table on top...
Power Apps
Answered

Patch one table on top of another

(0) ShareShare
ReportReport
Posted on by 48

Tried my best to find a title, but not sure how to post it exactly... So...

I have a table 1

NameID
John1
George2
Jim3
Bill4

 

and I have another table 2

NameID
Chris1
Patric2
Francois3

 

I want to always keep the second table, and put on the beginning of the second table the first one and adjust the ID accordingly.

Preferably I would like to do that with collections..

The result I want is : 

John1
George2
Jim3
Bill4
Chris5
Patric6
Francois7

Hope you understood the needed result!

Thank you in advance 🙂 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    @SmoothOperator 

    ClearCollect(JoinedTable,Table1,Table2)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • SmoothOperator Profile Picture
    48 on at

    if both tables have different columns though? I believe that 

    ClearCollect(
     JoinedTable,
     Table1,Table2
    )

    does not work and merges them. They should be exactly the same.. 

    any thoughts?

  • eka24 Profile Picture
    20,925 on at

    Your table had same columns. Did it work? 

    If different column names we can use AddColumns

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try this:

    ClearCollect(JoinedTable,Table1,RenameColumns(Table2,"Name2","Name","ID2","ID"));
    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
  • SmoothOperator Profile Picture
    48 on at

    I did this but with a ShowColumns() way and managed to make them both the same column collections and then used the intitial way you proposed 

     

    Thank you!

  • eka24 Profile Picture
    20,925 on at

    That is fine.

    Thanks

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard