I have a SP List as below

And this is how the app looks like :

I am able to see number of laptop of each location based on the distinct value from the dropdown box.
I have already created a delete button whereby you can deleted the selected row. But the problem is it will only delete the item for that particular location.
I need a "Delete All" button, where it can delete same same laptop item that is selected, but it will delete from all the 4 locations.
I have tried the below command, but it is not deleting all the 4 locations. only the first two is being deleted or sometimes it seems random.

Please advise. thank you!