web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Delete all data from 1...
Power Apps
Answered

Delete all data from 1 Row in a sharepoint list

(0) ShareShare
ReportReport
Posted on by 193

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

Categories:
  • BelgianDev Profile Picture
    53 on at

    Hey!

    Could you try the following:

    Patch("Your Soruce";{Column1:""})

  • rvdhorst Profile Picture
    193 on at

    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 Column1

    Thank you

     

  • BelgianDev Profile Picture
    53 on at

    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:""}))

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
  • rvdhorst Profile Picture
    193 on at

    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

     

    Thank you

     

     

     

     

     

    1.jpg
  • BelgianDev Profile Picture
    53 on at

    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.

  • rvdhorst Profile Picture
    193 on at

    Hi,

    There is an error on ThisItem (see picture) The button is not in a gallery. Is this the problem?

     

    Thank you

    1.jpg
  • Akser Profile Picture
    1,546 Moderator on at

    ClearCollect(MyCollection, ShowColumns(List1, "ID", "Column1"));

     

    UpdateIf(MyCollection, true, {Column1: ""});

     

    Patch(List1, MyCollection)

  • Verified answer
    rvdhorst Profile Picture
    193 on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard