Cheat Sheets/Power Apps/Patch (bulk)
Power Fx function

Patch (bulk)Power Fx function reference

Update many records at once.

Syntax

powerfx
Patch( DataSource, Table( ChangeRecord1, ChangeRecord2, ... ) )

Examples

powerfx
Patch(Tasks, colEdits)
All updated
powerfx
Patch(Tasks, ForAll(colEdits, {ID: ThisRecord.ID, Status: "Archived"}))
powerfx
Patch(Tasks, Filter(colEdits, IsDirty), colEdits)

Common mistakes & gotchas

Related Power Fx functions

From Creating & changing records

Used in these tutorials

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