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 apply results o...
Power Apps
Answered

How to apply results of Filter() of a Collection to a ForAll()

(0) ShareShare
ReportReport
Posted on by 3,347

Pretty simple answer here.  If this were a Sharepoint list, this statement would work:

 

 

 

 

ForAll(Filter(EmailQueue,Q_UsedIn=CurrentPN.Text),Remove(EmailQueue,ID))

 

 

 

 

Since a collection does not have an item ID, how would you write the statement above??

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,640 Most Valuable Professional on at

    I have a feeling it is not this simple, but my first try would be

    RemoveIf(EmailQueue,Q_UsedIn=CurrentPN.Text)

     

  • martinav Profile Picture
    3,347 on at

    @WarrenBelz ,

     

    If that were my actual statement, your suggestion would work.  I simplified it a bit to get the the crux of the actual issue, my real statement is:

     

     

     

    ForAll(Filter(EmailQueue,Q_UsedIn=CurrentPN.Text And ThisItem.Q_Level=ThisItem.Q_Level+1),Remove(EmailQueue,????????????)))

     

     

    <edited>

     

    Hold on... Let me try this.

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard