> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Type functions

> Browse Sigma type functions available in workbook formulas and calculations.

Type functions perform type casting or type conversion operations that transform values from one [data type](/docs/data-types-and-formats) to another.

| Function                 | Description                                                                                                                     |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
| [Date](/docs/date)       | Converts text or number values to the [date data type](/docs/data-types-and-formats#date) in [ISO](/docs/date) datetime format. |
| [JSON](/docs/json)       | Converts values to the [variant data type](/docs/data-types-and-formats#variant) in JSON format.                                |
| [Logical](/docs/logical) | Converts values to the [logical data type](/docs/data-types-and-formats#logical) in boolean format (`true` or `false`).         |
| [Number](/docs/number)   | Converts values to the [number data type](/docs/data-types-and-formats#number).                                                 |
| [Text](/docs/text)       | Converts values to the [text data type](/docs/data-types-and-formats#text).                                                     |
| [Variant](/docs/variant) | Converts text values to the [variant data type](/docs/data-types-and-formats#variant).                                          |

The following [geography function](/docs/geography-functions) also transform values from one data type to another:

|                              |                                                                                                       |
| :--------------------------- | :---------------------------------------------------------------------------------------------------- |
| [Geography](/docs/geography) | Converts GeoJSON or WKT formats to the [geography data type](/docs/data-types-and-formats#geography). |