Announcements
I created a button where I have plans to delete the last item in the sharepoint list using Microsoft Flow. How can I do this? Pls specified step by step using screenshot thanks!
Hi @Anonymous ,
The RemoveIf function will do the job in PowerApps - just needs a formula to identify the record.
You don't need a Flow to do this (or is this a Flow question)
Please accept @mdevaney 's answer - it is the direction I was heading and is correct,
Is there a way to modify this so it will delete all old ones and not just the last.
@Anonymous ,
If you want all but the last record
RemoveIf( YourListName, ID < First( Sort( YourListName, ID, Descending ) ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Maybe a bit late to the party - but this code will remove the first entry where the search-query holds true:
Remove(Source; First(Search(Source;Gallery.Selected.UID;"UID")))
Where "UID" represents the unique identifier of this column.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 396 Most Valuable Professional
11manish 134 Super User 2026 Season 2
MS.Ragavendar 101 Super User 2026 Season 2