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 / Using collections to m...
Power Apps
Answered

Using collections to merge into one

(0) ShareShare
ReportReport
Posted on by 250

Hi,

 

I created two collections and i was able to merge them into a Master Collection, but the problem that i am having is that the new column i added to the Master collection is not showing me all of the options.  

 

This is what i have on the OnSelect of a button ClearCollect(MasterCollection, AddColumns(planscol, "elevation", LookUp(colID, number = number,number))). How can i establish the relationship, and how to be able to show of the options coming from the ColID collection into the Master Collection? 

 

patty789_0-1607635517761.pngpatty789_1-1607635537540.png

 

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

    @patty789 ,

    The issue you have is naming your matching columns the same - you also need to use ForAll if you want each one to match. The last thing is I assume number is not the added column (you already have it).

    Clear(MasterCollection);
    ForAll(
     planscol As aPlan,
     Collect(
     MasterCollection,
     AddColumns(
     aPlan,
     "elevation",
     LookUp(
     colID,
     number=aPlan.number
     ).YourColumnName
     )
     )
    )

     

    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.

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

    Hi @patty789 ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard