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

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

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

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

Highlighted

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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,635)