In this Power Apps tutorial, we will discuss how you can use a collection to store data that users can manage in your app. A collection is a group of items that are similar, such as products in a product list.
How to create and update a collection in a Canvas App
- Create an app or open an existing app in Power Apps.
- Create a multicolumn collection.
- Show the collection that you created.
- Remove one or all items.
- Run an app.
Formulas in this tutorial
Drop down Control
Items= ["Red", "Green", "Blue"]
Add Button Control
OnSelect = Collect(ProductList, {Product: ProductName.Text, Color: Colors.Selected.Value})
Remove Button Control
OnSelect = Remove(ProductList, ThisItem)
Clear Button Control
OnSelect = Clear(ProductList)
Microsoft Power Apps documentation: Create and update a collection in a canvas app