Remove from SP datasource list if present in a gallery
I cannot seem to find a solution to this, but if an item is present in a gallery and OnSelect of a button, I want to remove any items from a SharePoint list. I thought it was a ForAll statement, but maybe I am wrong? For instance: ForAll(GalleryA.Allitems, Remove(SPList,Lookup(SPList.Title=ThisRecord.Title)))? I get some error about the query context cannot be filtered.
UPDATE: I found the issue and it was more USER error (myself) than anything else.