What is PowerApps Collection and how to create a Collection in PowerApps?
Softree Technology > Blogs > PowerApps > What is PowerApps Collection and how to create a Collection in PowerApps?

What is PowerApps Collection and how to create a Collection in PowerApps?

  • Posted by: Softree Technology

In simple words, collection by mean is a group of items. PowerApps provides most useful feature i.e. PowerApps Collection. It is an array that is use to keep data in PowerApps memory.

 Create a Collection in PowerApps

Syntax –

Collect (Collection Name, record(s))

Here

Collect = this is the default function name provided by PowerApps to create the collection.

Collection Name = we need to give any name to our collection.

Record(s) = we are providing values to our collection, each record stores item values within curly braces.

Steps to Create Collection

  • Open Power Apps window. Select On Start Property.
  • Let’s take a simple example for Employee details showing employee id and designation. Add the following formula on Start method.

Collect (Employee Details, {EmpID: “11021051”, Designation: “Software Developer”}, {EmpID: “11021052”, Designation: “Product Manager”}, {EmpID: “11021052”, Designation: “HR”})

  • Now save and publish the app. And reopen the app in edit mode. Go to

View ->Collections.

Clicking on Collection will show you the collection you have made.

Key Words –

  1. What is PowerApps Collection?

2. Syntax for PowerApps Collection

3. How to create PowerApps Collection?

4. What is PowerApps Collection and how to create a Collection in PowerApps?

5. Build a PowerApps Collection.

Author: Softree Technology

Leave a Reply