Cheat Sheets/Power Apps/ForAll
Power Fx function

ForAllPower Fx function reference

Evaluate a formula per row.

Syntax

powerfx
ForAll( Table, Formula )

Examples

powerfx
ForAll(colEdits, Patch(Tasks, ThisRecord))
Runs per row
powerfx
ForAll(colCart, Patch(Products, LookUp(Products, SKU = ThisRecord.SKU), {Stock: Stock - ThisRecord.Qty}))
powerfx
ForAll(Sequence(5), Notify("Step " & Value))

Common mistakes & gotchas

Related Power Fx functions

From Table shaping

Used in these tutorials

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