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 / OnStart, populate coll...
Power Apps
Answered

OnStart, populate collection from datasource: is this possible?

(0) ShareShare
ReportReport
Posted on by 371

Hello

Is it possible to:

1 populate a collection 'OnStart' from another datasource eg an Excel file, and then

2 to use that collection as the datasource for the app?

The app data would be patched to a new datasource (not the collection).

 

Thanks!

Categories:
  • DanishIslam Profile Picture
    108 on at

    Hi Englishweb,

     

    Yes, its possible to collect data from a data source on start of the app and then use it later.

     

  • Englishweb Profile Picture
    371 on at

    Hello @DanishIslam 

    Thanks for your quick reply,

    Could you possibly explain how to load data into a collection OnStart, from Excel?

    Sorry if its an obvious question!

     

  • DanishIslam Profile Picture
    108 on at

    Hi,

     

    You can follow this link on how to utilize Excel with PowerApps.

     

    https://www.myonlinetraininghub.com/powerapps-excel-introduction

     

    Hope it helps.

  • Englishweb Profile Picture
    371 on at

    Hello  @DanishIslam 

    Thanks very much for your response, but my question was about the loading of a 'Collection' OnStart as the datasource, rather than using Excel directly. Perhaps I've misunderstood your reply.

  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Englishweb ,

     

    Yes, it is possible to update one data source using the data from another data source. But you must have both data sources connected to this app. And OnStart of the app, collect the data from Excel table to a collection, then use a Patch function to update the collection to the 2nd data source.

     

    Regards,

    Mona

  • Englishweb Profile Picture
    371 on at

    Hello

    So, here's the scenario:

    1) I create MyCollection, which collects data OnStart from a datasource (Excel file) to run the app

    2  I use the Patch function to update a 2nd data source (Another Excel file)  

    (Both datasources are connected to the app)

     

    My question: Do all users need to have access to both Excel files if the App is running from MyCollection?

    Thanks

     

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard