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 / How to create multiple...
Power Apps
Answered

How to create multiple Collections OnStart of a Power App

(0) ShareShare
ReportReport
Posted on by 776

I have 3 ComboBoxes in a Power App and need to create 2 colections to load into the ComboBoxes. I have 1 function to create 1 collection, but need to create another collection for the other 2 ComboBoxes to use, but I want to create both collections OnStart of the app. How would I do this?

Categories:
I have the same question (0)
  • Verified answer
    Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @Greg27 

     

    You can use a semicolon to separate functions.

     

    ClearCollect(colFirst,

    {

    Value: 1

    },

    {

    Value: 2

    }
    );

    ClearCollect(colSecond,

    {

    Value: “One”

    },

    {

    Value: “Two”

    }

    )

  • Greg27 Profile Picture
    776 on at

    Thanks for the help!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard