Cheat Sheets/Power Apps/Update
Power Fx function

UpdatePower Fx function reference

Replace a record wholesale.

Syntax

powerfx
Update( DataSource, OldRecord, NewRecord )

Examples

powerfx
Update(Tasks, oldRec, newRec)
Record replaced
powerfx
Update(Tasks, LookUp(Tasks, ID = 5), {ID: 5, Title: "Renamed", Status: "Open", DueDate: Today()})
powerfx
Update(colCart, First(colCart), {Item: "Pen", Qty: 3})

Common mistakes & gotchas

Related Power Fx functions

From Creating & changing records

Used in these tutorials

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