Cheat Sheets/Power Apps/AddColumns
Power Fx function

AddColumnsPower Fx function reference

Add a calculated column.

Syntax

powerfx
AddColumns( Table, NewColumn1, Formula1 [, NewColumn2, Formula2, ... ] )

Examples

powerfx
AddColumns(Staff, "Full", First & " " & Last)
Table with column
powerfx
AddColumns(Staff, "FullName", First & " " & Last, "IsManager", !IsBlank(DirectReports))
powerfx
AddColumns(Orders, "DaysOld", DateDiff(Created, Today(), TimeUnit.Days))

Common mistakes & gotchas

Related Power Fx functions

From Table shaping

Used in these tutorials

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