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 / Merge two different co...
Power Apps
Answered

Merge two different collections

(0) ShareShare
ReportReport
Posted on by 599

Hi, 

 

I have a two different collections with different columns. 

This is my collections,

 

1st collection

NameMail
SureshSuresh@test.com
DaniDani@test.com

 

2nd collection

Department
Java
Web Development

 

Now i need to merge this collection like following,

NameMailDepartment
SureshSuresh@test.comJava
DaniDani@test.comWeb Development

 

This is what i need.

 

How to merge this two collections?

 

Thanks,

Dhinesh

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    @Dhinesh28R ,

    How do you know which Department from Collection 2 belongs to the user in Collection 1?

  • Dhinesh28R Profile Picture
    599 on at

    Hi @WarrenBelz ,

    That's what am asking this post. There is no relation between this two collection. 

    Is this possible?

     

    Thanks,

    Dhinesh

  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    @Dhinesh28R ,

    No - how do you expect the system to know where to put the values?

  • Dhinesh28R Profile Picture
    599 on at

    Hi @WarrenBelz ,

    Now i made a change in my 2nd collection like this,

    MailDepartment
    Suresh@test.comJava
    Dani@test.comWeb Development

     

    Now this is possible to link two collections?

     

    Thanks,

    Dhinesh 

  • Verified answer
    WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    @Dhinesh28R ,

    Change the field name on Collection 2 to something else (I have used EMailAddress) and the below should work

    ClearCollect(
     Collection3,
     AddColumns(
     Collection1,
     "Department"
     Lookup(
     Collecton2,
     EmailAddress=Mail
     ).Department
     )
    )

     

    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

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard