
Announcements
Hi everyone,
I’m currently working on a Power App where I want to perform the following tasks with a collection:
I’ve created a collection successfully, but I’m unsure how to implement these specific requirements. Any guidance or formulas to achieve this would be greatly appreciated!
If you want to show only specific data from your collection (e.g., filtering by a column like "Status" = "Active"), you can use the Filter() function. Here’s an example:
Set this formula as the Items property of your gallery or table, and it will display only the filtered results.
To display just the first 4 records in your collection, you can use the FirstN() function like this:
Set this as the Items property, and you’re good to go!
If you want to focus on specific columns (e.g., "Name" and "Email"), the ShowColumns() function will help. For example:
ShowColumns(YourCollectionName, "Name", "Email")
You can also combine this with other functions. For instance, to show the first 4 records but only from specific columns, use: