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 / Deleting list items ba...
Power Apps
Answered

Deleting list items based on column values

(0) ShareShare
ReportReport
Posted on by

Hi, I'm pretty new to Power Apps. I'm trying create a button that deletes items from a list based on whether they have a certain column value. (ex. delete rows from the project list that have a value of 0 under the Number_of_tasks column). I have tried using the removeif() function, however I keep on getting incompatibility errors because Number_of_tasks is a table and can't be compared to a record/number/string. Does anybody know other functions or solutions I can use?

Categories:
  • timl Profile Picture
    37,420 Super User 2026 Season 2 on at

    Hi @RV2204 

    RemoveIf would be the best function to use. What data source are you using and what's the data type of your Number_of_tasks column?

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @RV2204,

    Have you solved your problem?

    Do you want to delete a row if it has a value of 0 under this Number_of_tasks column?

     

    I have a test on my side, please check as below:

    RemoveIf(List,IsBlank(Number_of_tasks))

    Number_of_tasks is a single-line-of-text column in my list, the RemoveIf() works as expected.

     

    Also, if I try a Choice column in my RemoveIf(), it works as well.

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard