Category: Text | Works in: Canvas Apps
Formats a number, date, or value as a text string using a format pattern — the primary formatting function in Power Fx.
Text( Value [, FormatString] )
Text(1234.5, "$#,##0.00") // → "$1,234.50"
Text(Today(), "dd mmm yyyy") // → "30 May 2026"
Text(0.125, "0.0%") // → "12.5%"
"Subtotal: " & Text(varSubtotal, "$#,##0.00") & Char(10) &
"Tax (18%): " & Text(varTax, "$#,##0.00") & Char(10) &
"Total: " & Text(varTotal, "$#,##0.00")
Text(ThisItem.DueDate, "[$-en-IN]dd/mm/yyyy") // India
Text(ThisItem.DueDate, "[$-en-US]mmmm d, yyyy") // US
Text(Now(), "yyyy-mm-dd_hh-mm") // file-safe
// Label Text:
Text(varRevenue, "$#,##0") & " (" & Text(varRevenue/varTarget, "0.0%") & ")"
// Label Color:
If(varRevenue >= varTarget, Color.Green, Color.Red)
- Validate inputs before using in write operations.
- Combine with related functions for complete workflows.
- Test with both empty and populated data sources.
- Consider delegation when working with large data sets.
| Function | Relationship |
|---|---|
Concatenate |
Related function |
Value |
Related function |
Round |
Related function |
DateFunctions |
Related function |
← Back to Home | Power Apps Formulas Reference | Last updated: May 2026