Power Apps – Turn selected items in a gallery into text

3 steps

Introduction:

We will learn how to set up a label that shows the selected items of a gallery.


Step 1:

Insert a Blank Vertical Gallery named Gallery1. Change the following properties:

TemplateSize property

80

Items property

["Cap","Cellphone","Wallet","Headphones","Backpack","Shoes"]

Step 2:

Insert a checkbox control named Checkbox1 inside Gallery1. Change the following properties:

Text property

ThisItem.Value

Step 3:

Insert a text label control named Label1 and Change the following properties:

Text property

Concat(Filter(Gallery1.AllItems,Checkbox1.Value = true),Value,", ")

Conclusion:

You can test the set up by selecting some items in the gallery by ticking the checkboxes. You will notice that the label on the right displays all items that are ticked separated by a comma.

Last Updated: Feb 4, 2024


Need expert guidance on Power Apps?