Cheat Sheets/Power Apps/RemoveIf
Power Fx function

RemoveIfPower Fx function reference

Delete records matching a condition.

Syntax

powerfx
RemoveIf( DataSource, Condition1 [, Condition2, ... ] )

Examples

powerfx
RemoveIf(Tasks, Status = "Archived")
Matches deleted
powerfx
RemoveIf(Tasks, Status = "Archived", DueDate < DateAdd(Today(), -90, TimeUnit.Days))
powerfx
RemoveIf(colCart, Item = ThisItem.Item)

Common mistakes & gotchas

Related Power Fx functions

From Creating & changing records

Used in these tutorials

← Back to the Power Apps (Power Fx) cheat sheet