Returns the region name for the specified geolocation.

## Sample usage

`TOREGION(Region ID, 'REGION_ISO_CODE')`

## Syntax

`TOREGION(X, input_format)`

### Parameters

- `X` - a text field.
- `input_format` - format for text field `X`.

## Input format

`TOREGION` accepts the following input format: [REGION_ISO_CODE](http://en.wikipedia.org/wiki/ISO_3166-2).

## Examples

| Example formula | Input | Output |
|---|---|---|
| ` TOREGION(Region ID,` '`REGION_ISO_CODE`'`) ` | US-CA | California |

## Related resources

- [Calculated fields](https://docs.cloud.google.com/data-studio/about-calculated-fields)
- [Data Studio function list](https://docs.cloud.google.com/data-studio/function-list)