Looker Studio is now called Data Studio. Learn more about this change.
TOCOUNTRY
Stay organized with collections
Save and categorize content based on your preferences.
Returns the country name for the specified geolocation.
Sample usage
TOCOUNTRY(Country Code)
Syntax
TOCOUNTRY(X [,input_format])
Parameters
X- A text field or expression, or a geo field or expression.input_format- format for text fieldX. Optional ifXis correctly configured as a geo field.
Input format
TOCOUNTRY accepts the following input formats if X is a text field:
Examples
| Example formula | Input | Output |
|---|---|---|
TOCOUNTRY(Country Code) |
PE | Peru |
TOCOUNTRY(Region ID,'REGION_ISO_CODE') |
US-CA | United States |