TOCOUNTRY

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 field X. Optional if X is correctly configured as a geo field.

Input format

TOCOUNTRY accepts the following input formats if X is a text field :

COUNTRY_ISO_CODE, REGION_ISO_CODE.

Examples

Formula Input Output
TOCOUNTRY(Country Code) PE Peru
TOCOUNTRY(Region ID, 'REGION_ISO_CODE') US-CA United States

Related resources

Was this helpful?
How can we improve it?