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 / How to conditionally r...
Power Apps
Answered

How to conditionally remove a record from the static collection?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have a collection as follows:

 

Collection 1:

Name      IsTrue

Name1    Yes

Name2    Yes

Name3    No

Name4    Yes

Name5    No

 

Output Collection 2: Shows records which has "isTrue=Yes"

Name      IsTrue

Name1    Yes

Name2    Yes

Name4    Yes

 

Can anyone please share, how can I get the "Collection 2" from the static collection 1 ?

 

Thanks,

 

Categories:
I have the same question (0)
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @dave8  try ClearCollect(Collection2,Filter(Collection1,IsTrue="Yes"))

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard