Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Populate gallery with items from multiple collections

(0) ShareShare
ReportReport
Posted on by 502

Hi All,

 

Need to populate gallery with items from multiple collections. Below are the 2 collections which I hold.

 

ClearCollect(
ModEve,
ShowColumns(
DataSource,
"Event",
"Modified",
"Author",
"Event_BL_Flag"
)
);

ClearCollect(
ModOrg,
ShowColumns(
DataSource,
"Event",
"Modified",
"Author",
"Event_BL_Flag"
)
);

 

This is the Gallery where I need to populate items from both the collections. Both collections have same columns. Any idea how to set the item property of Gallery to both collections ?

 

Cap.JPG

 

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on at
    Re: Populate gallery with items from multiple collections

    @Iantaylor2050 

    Sorry, forgot a comma.  Please scrub through the formulas I provide as I type them by hand without the aide of a design editor.

    Formula should be:

    UnGroup(
     Table(
     {Items: ModEve},
     {Items: ModOrg}
     ),
     "Items"
    )
  • Iantaylor2050 Profile Picture
    502 on at
    Re: Populate gallery with items from multiple collections

    Hi @RandyHayes 

     

    I tried using the above formula, however it throws error as below

     

    ColError.JPG

     

    Also, Can we use ThisItem.columnname for setting values in Gallery ?

  • RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on at
    Re: Populate gallery with items from multiple collections

    @Iantaylor2050 

    Set your Items property to the following:

     

    UnGroup(
     Table(
     {Items: ModEve}
     {Items: ModOrg}
     ),
     "Items"
    )

     

    I hope this is helpful for you.

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1