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 Item from Share...
Power Apps
Answered

Remove Item from SharePoint List and Collection based on variable

(0) ShareShare
ReportReport
Posted on by 65

How can I remove an item from a collection and corresponding sharepoint list.

 

I have a trash can that patches a variable 'Del' to true.  I would then like it not only to remove the item from the collection also the sharepoint list.

 

Click Trash Icon

Patch(projectcollection, ThisItem, {Del:true}) //works

Remove(projectcollection, ThisItem) //works

Remove('project list', ????) // confused at this part with the sharepoint list and referencing that item from the collection any help is appreciated!

 

 
Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @mattthew 

    Try

    Remove('project list', ID = ThisItem.ID) 

     

  • Verified answer
    mattthew Profile Picture
    65 on at

    Thanks @Anonymous  you put me on the right path.

     

    Solution: Remove('Project List', LookUp('Project List', ThisItem.ID=ID));

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @mattthew 

    Tick your response as the solution mate. This helps others looking for the same solution to find it more quickly 🙂 

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard