What is a Collection in PowerApps?
Collections in PowerApps store data temporarily within the app. They are useful when the internet connection is slow or when users are offline. Collections also help you work around some limits of SharePoint lists, allowing you to run more complex queries, combine data from different sources, and apply custom logic easily.
You can create a collection in the OnStart property of the app or in the OnVisible property of a screen.
Types of Collections
PowerApps provides mainly two ways to create collections:
Collect() – Adds data to a collection
ClearCollect() – Clears existing data and then adds new data
Collect() function
Syntax
Collect(CollectionName, Item)
Example
Collect(
colEmployees,
{
FirstName: "Krish",
LastName: "Kanakiya",
Department: "IT",
Experience: 2
}
)
![10-03-2026-04-48-45]()
What this does
If you run it again, it will add another record (it does not remove old data).
ClearCollect() function
Syntax
ClearCollect(CollectionName, Data)
Example
ClearCollect(
colEmployees,
<Your List Name>
)
![10-03-2026-05-07-00]()
What this does
This is commonly used in App OnStart or Screen OnVisible.
How to View a Collection?
![10-03-2026-05-08-04]()
![10-03-2026-05-10-36]()
You can see all collections and their data
Why Use Collections?
Temporary Data Storage: Store data before submitting to SharePoint or Dataverse.
Improve Performance: Instead of calling SharePoint multiple times, store data once in a collection.
Edit Data Locally: Modify data in gallery before saving to the actual data source.
Offline Capability: Collections help build offline-enabled apps.
Conclusion
Collections are one of the most powerful building blocks in Power Apps. Whether you want faster performance, offline capability, or flexible data handling—collections make your app cleaner and more efficient.
Mastering collections will dramatically speed up development and improve your app’s user experience.