cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iskguy
Helper IV
Helper IV

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.

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @iskguy,

Glad that you have resolved your problem.

I will mark here to close this case.

Best Regards,
Qi

View solution in original post

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi @iskguy,

Glad that you have resolved your problem.

I will mark here to close this case.

Best Regards,
Qi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,325)