Announcements
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.
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
See: https://powerapps.microsoft.com/en-us/tutorials/function-remove-removeif/
@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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 530
WarrenBelz 459 Most Valuable Professional
Haque 314