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

Notifications

Announcements

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

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:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard