cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Delete record based on record selected in table

Hi, 

This issue is related to my previous thread (https://powerusers.microsoft.com/t5/General-Discussion/Error-table-filter-The-requested-operation-is...)

Now, I want to delete a selected record in a datatable with the following button:

delete1.png

Unfortunately, this is not working. 

I already had a look at related threads on this community forum and tested a couple of things but could not find a solution so far. 

Would be great if somebody could help. 

Many thanks and best regards, 

Ludwig

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @lreinhard7 ,

 

Please set below formula in the OnSelect property of the button to delete the item that you selected in data table control:

Remove(ListName, DataTable1.Selected)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @lreinhard7 ,

 

Please set below formula in the OnSelect property of the button to delete the item that you selected in data table control:

Remove(ListName, DataTable1.Selected)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi Mona,

I tried that multiple times and also tested using Flow for that purpose.

I think it is not the remove functionality or PowerApps that is wrong but that the D365FO entity has a problem with the deletion of the record.

In general the removal works for other scenarios but not for this very specific one 😞

Many thanks for your feedback!

Best regards,

Ludwig

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (4,025)