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 delete a sharep...
Power Apps
Answered

How to delete a sharepoint record/row from PowerAps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I would like to create a button that, when pressed, it would remove a record that is highlighted within a datatable. The datatable contains data from a sharepoint list.

Categories:
I have the same question (0)
  • Verified answer
    bean Profile Picture
    568 on at

    RemoveIf(datasource, primaryId = gallery.selected.primaryId)

     

    Something like that should work.

     

    Also add ;Refresh(datasource) after that to force your gallery to update if it doesnt automatically.

     

    Sean

  • bean Profile Picture
    568 on at
  • Stevevater Profile Picture
    28 on at

    @bean

     

    Anyone know how to delete the record when there are more than the 500 limit.

     

    Remove is not delegateable and therfore does not find a record outside the first 500 rows.(we have 8000)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard