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 / RemoveIf Using Collect...
Power Apps
Answered

RemoveIf Using Collections

(0) ShareShare
ReportReport
Posted on by 283

I have two collections that both use the same ID.  I want to use a formula like remove if to remove all the items from the first collection that are also in the second collection.

 

Example: 

Collection #1

IDData
1A
2A
3A
4B
5B

 

Collection #2

IDData
1A
3A
5B

 

Desired result:

IDData
2A
4B
Categories:
I have the same question (0)
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at
    @dyee4614
    Here’s what I would suggest

    RemoveIf(Collection1, ID in Collection2[@ID])

    —-
    Please Accept as Solution if this post answered your question so 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
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard