web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Understanding Collections
Power Apps
Unanswered

Understanding Collections

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am having a hard time understanding how Collections work. I have a list from SharePoint that has over 5000 items byt from those Items I only want to pull active items from that list which is roughly over 200. So I created a collection for that list called MyListCollection, so I'm trying to filter it to just show active items. To know which items are active is when the column "Completed is equal to 0" and items are located in the contract column. I have a contract dropdown box (this is where selected items will be stored) in the form, so how would I get that to work and pull just active items.

 

 

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Collections are a complex topic in Power Apps so it is understandable that you feel this way.  I had the same difficulties when I was learning.  I've put together a huge list of all the most used techniques in what I call the 'Collections Cookbook' if you are interested! (https://matthewdevaney.com/powerapps-collections-cookbook/)

     

    If you would like to only show the Active results here's how to do it.  Use this code in the Items property of the dropdown.

    ["Active","Inactive"]

     

    Then use this code in the Items property of the gallery to FILTER which records are being shown.

    If(Dropdown_Status="Active", Filter(your_datasource_name, StatusColumnName = 0))

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard