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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,416)