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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,327)