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 / remove the collection ...
Power Apps
Answered

remove the collection row from another collection

(0) ShareShare
ReportReport
Posted on by 26

Hi,

 

I ve got two collection first ex.

 

ID  |  Data 

1    |  01/01/2023

2    |  02/01/2023

3    |  03/01/2023

 

Second Collection

 

ID  | Data (different than collection1)

2    |  10/05/2020

 

What i need to do is to remove rows from Collection1 which ID is the same as ID in collection2.

The easiest way would be function  Remove(Collection1,Collection2), but i ve got diffrent dates so it doesnt work.

Any ideas?

 

 

 

Categories:
  • Verified answer
    timl Profile Picture
    37,420 Super User 2026 Season 2 on at

    @Michal_Boro17 

    You should be able to do this by calling the RemoveIf function.

    RemoveIf(collection1,
     ID in collection2.ID
    )
  • Michal_Boro17 Profile Picture
    26 on at

    Thank U very much!!!!!

    Works perfect 🙂

  • Michal_Boro17 Profile Picture
    26 on at

    Is there an option to remove only one record from Collection1 not all of them or as many as i ve got in Collection2?

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard