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 / Mutliple collections i...
Power Apps
Answered

Mutliple collections in a gallery.

(0) ShareShare
ReportReport
Posted on by 157

Hi everyone,

I've created mutliple galleries that populate some collections when checked:

Slowpoke_0-1662044092763.png


Respectively; varcol, varcat, varekip and varperi.

I would like to create a new gallery that regroup all the checked data (so a group of data from varcol, varcat, varekip and varperi.

I tried multiple formulas but none them seem to work.

Do you have any idea of a formula I could use?

I can provide more informations if needed.

Thank you by advance.

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Slowpoke 

    Is the schema the same for each collection?  If not, are there common fields between all the collections?

  • Slowpoke Profile Picture
    157 on at

    Yes the schema is the same, they all have only a "value" column and that's all.

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Slowpoke 

    Then you can combine them into a single collection.  

    Collect(alldata,varcol, varcat, varekip,varperi)

  • Slowpoke Profile Picture
    157 on at

    Thank you.

    I'm maybe wrong but this solution implies to use a bouton to use the collect function.

    Is there a way to not use a bouton or to do something like that : "display(alldata,varcol, varcat, varekip,varperi)"?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Slowpoke 

    You can use a button or put it in the OnVisible property of the screen with the gallery to do it automatically but  I think that some Action will be required to combine the collections.  Also if any of them are changed after you create the collection,  ClearCollect() will be required to recreate it. 

  • Slowpoke Profile Picture
    157 on at

    Ok thank you for your quick answers

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard