cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lreinhard7
Level 8

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
Community Support Team
Community Support Team

Re: Delete record based on record selected in table

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
Community Support Team
Community Support Team

Re: Delete record based on record selected in table

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

lreinhard7
Level 8

Re: Delete record based on record selected in table

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,265)