Announcements
Hello everyone,
Is it possible to delete all data from 1 column from a sharepoint list?
List name: List1
List looks like this:
Column1 Column2 Column3 Column4 Column Name: Column3
Thank you
Hey!Could you try the following:Patch("Your Soruce";{Column1:""})
Hello,
This one works.Patch('Source',{Id:1,Column1:""})But I want to delete not only Id1 but all records. All records of the List but only Column1Thank you
Hey! Did you try it like my example aswell? (Without the ID:)Patch("Your Source";{Column1:""})If that didn't work, you can do the following:Forall('Source';Patch('Source';ThisItem;{Column1:""}))
@rvdhorst
Even better see https://www.matthewdevaney.com/patch-multiple-records-in-power-apps-10x-faster/
Hi,
Patch('Source',{Column1:""}) I don't get any error message. But it doesn't do anything.
Forall('Source';Patch('Source';ThisItem;{Column1:""}))
I get an error message. See the attached photo
Forall('Source';Patch('Source';ThisItem;{Column1:""}))I see you forgot this step. Normally Patch('Source',{Column1:""}) should also work. You can try both and see what works for you.
There is an error on ThisItem (see picture) The button is not in a gallery. Is this the problem?
ClearCollect(MyCollection, ShowColumns(List1, "ID", "Column1"));
UpdateIf(MyCollection, true, {Column1: ""});
Patch(List1, MyCollection)
great,
This works perfectly.
Thanks everyone for thinking along.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 243 Super User 2026 Season 2
WarrenBelz 204 Most Valuable Professional
Mohsin Ali 122