Announcements
I have a gallery :
but when i try to delete a row by :
when i click the button , the table not update , when i do it again it happend error :
Hi @CudNaut
Use RemoveIf instead of Remove function.
RemoveIf(Table2,ID = ThisItem.ID,Notify("Deleted",NotificationType.Success,5000));
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.
Thanks @Rajkumar_404 but my table doesn't have "ID", should I add 1 column name "ID" ?
There's no need to include it; you can utilize any unique column to compare the data in Table2 to the gallery item for deletion.
Refer this link: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-remove-removeif
https://www.c-sharpcorner.com/article/how-to-use-remove-and-removeif-functions-in-power-apps/
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.
Vish WR 638
Haque 317
WarrenBelz 315 Most Valuable Professional