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 Apps / Collect information fr...
Power Apps
Unanswered

Collect information from inside collection

(0) ShareShare
ReportReport
Posted on by 6

Hello maybe somebody can give me advice .
I would like to collect for this table ;

 

7q1glFZsKsDX.png

 

Vacation dates and weeks etc that everything can cooperate with this tabel. 


Thats how looks vacation date chooser. 

 

bV16wMzF2UFg.png

and collection inside 

 

ElXW8Ms0oyOL.png

All what i need is to merge that information with exist tabel.

Categories:
I have the same question (0)
  • elseb Profile Picture
    774 Moderator on at

    Hi,

     

    to use info from different data sources and merge it into one collection you can use addcolumns like this:

    ClearCollect(
     colMergedCollection, //name of the new collection
     AddColumns(
     colCollectionOne, //name of the first collection (ususaly larger of the two)
     "name_of_new_column_1",
     LookUp(
     colCollectionTwo, //name of collection that contains columns to add
     relation_column = colCollectionOne[@relation_column]
     ).name_of_source_column_1,
     "name_of_new_column_2",
     LookUp(
     colCollectionTwo,
     relation_column = colCollectionOne[@relation_column]
     ).name_of_source_column_2
    ))

    and so on.

     

    the relation_column is needed to match the records to each other, not sure if you have a column like that you can use the system id column from the main list and patch it to the second list every time new record is added, or you can create a new column and store GUID() in it.

     

    Seb

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard