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

Community site session details

Session Id : Uye8h5a7E/4vIfXyxr3+gS
Power Apps - Building Power Apps
Answered

How to join two collections with different rows without common column in Power Apps?

Like (0) ShareShare
ReportReport
Posted on 17 Sep 2021 08:01:13 by 70
 

Suppose I have collection1 in power apps

name

age

###

###

***

***

 

And another collection2

date

time

class

group

a

b

c

d

 

 

now I want to create new collection i.e. collection3 like this:

name

age

date

time

class

group

###

###

a

b

c

d

***

***

a

b

c

d

how can I achieve this collection3?

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 20 Sep 2021 at 08:47:16
    Re: How to join two collections with different rows without common column in Power Apps?

    Hi @Harpreet_Tohra,

    Have you solved your problem?

    Do you want to merge two collections into a new collection?

    I have made a demo for you, please add a button and set the OnSelect as below:

    ClearCollect(
     collection3,
     Ungroup(
     Ungroup(
     Ungroup(
     Ungroup(
     AddColumns(
     collection1,
     "date",
     collection2.Date,
     "time",
     collection2.Time,
     "class",
     collection2.Class,
     "group",
     collection2.Group
     ),
     "class"
     ),
     "date"
     ),
     "group"
     ),
     "time"
     )
    )

    vqiaqimsft_1-1632127585718.png

     

     

  • WarrenBelz Profile Picture
    148,894 Most Valuable Professional on 17 Sep 2021 at 08:44:18
    Re: How to join two collections with different rows without common column in Power Apps?

    Hi @Harpreet_Tohra ,

    This blog of mine may be of assistance.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete