ToText
Scalar
ToText(value)
Casts a number or date to text (dates render ISO). Required before concatenating with &, which takes string operands only — there is no implicit number→string coercion in SquareX (SQX006).
When to use it
Section titled “When to use it”- Building label measures: KPI subtitles, chart annotations —
"as of " & ToText(Max(Sales.OrderDate)).
Example
Section titled “Example”RevenueLabel := "Total: " & ToText(Round([Revenue], 0))