HOW TO DELETE MULTIPLE RECORDS IN POWERAPPS (2024)

To Delete multiple records in powerapps.

I have used gallery here. You can also use DataTable. Add a label inside the gallery and rename it as lblSelect and set it’s property text = If(chkDeleteItems.Value=true,true,false). Next, insert the checkbox inside the gallery and rename it. I have renamed it as chkDeleteItems. Now set the checkbox property “OnCheck” to true and “OnUncheck” to “false” .Now insert a button and rename it to “Delete” and “OnSelect” properties add this

ForAll(

RenameColumns(Filter(Gallery1_2.AllItems, chkDeleteItems.Value = true), "ID", "ID1"),

Remove(test123, LookUp(test123, ID = ID1))

)

HOW TO DELETE MULTIPLE RECORDS IN POWERAPPS (1)

Here Gallery1_2. All Items is the name of the Gallery I have used,

test123 – Is the sharepoint list.

HOW TO DELETE MULTIPLE RECORDS IN POWERAPPS (2)

You can set the lblSelect properties visible = false. After selecting, click on the Delete button and the item will be deleted.

TO DELETE SINGLE RECORD.

HOW TO DELETE MULTIPLE RECORDS IN POWERAPPS (3)

Insert the button or the Trash icon and on the icon add “OnSelect” - Remove(test123,Gallery1_1.Selected). Your items will be deleted.

HOW TO DELETE MULTIPLE RECORDS IN POWERAPPS (2024)
Top Articles
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 6319

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.