OpenBI Docs Buy

Text.Reverse

A text with its characters in the opposite order.

Group: Text and characters. Power Query M has it too: a query that uses it is written as in Power BI.

Syntax

Text.Reverse(text as nullable text) as nullable text
ParameterTypeDescription
textnullable textThe text to turn around; null gives null.

Returns

nullable text. The characters from last to first.

Examples

A code backwards

Text.Reverse("ABC-123")
"321-CBA"

Text.ToList, List.Reverse.

Last updated · OpenBI Studio 0.3.79