Menu
Amazon QuickSight
User Guide

toString

toString formats the input expression as a string. toString skips rows containing null values.

Syntax

toString(expression)

Arguments

expression

An expression can be a field of any data type, a literal value like 14.62, or a call to another function that returns any data type.

Return Type

String

Example

The following example returns the values from Field2 (which uses the date data type) as strings.

toString(Field2)

The following are the given field values.

Field2 -------- 1992-11-14T00:00:00.000Z 2012-10-12T00:00:00.000Z 1973-04-08T00:00:00.000Z

For these field values, the following rows are returned.

1992-11-14T00:00:00.000Z 2012-10-12T00:00:00.000Z 1973-04-08T00:00:00.000Z