Power Fx function
Char — Power Fx function reference
Character from a code point.
Syntax
powerfx
Char( Number )
Examples
powerfx
Char(10)
→ A line break
A tab character.
powerfx
Char(9)
powerfx
"Line one" & Char(10) & "Line two"
Common mistakes & gotchas
- Char takes a Unicode code point and returns the matching character; the reverse (character to code point) is the separate Code() function.
- Useful for inserting line breaks (Char(10)) into multi-line text properties, since Power Fx strings have no literal newline syntax.
Related Power Fx functions
From Text