Notification

This article is about Looker Studio. For Looker documentation, visit https://cloud.google.com/looker/docs/intro.

TOCONTINENT

Returns the continent name of the specified geolocation.

Sample usage

TOCONTINENT(Subcontinent Code)

Syntax

TOCONTINENT(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

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

SUBCONTINENT_CODE, COUNTRY_ISO_CODE, REGION_ISO_CODE

Examples

Formula Input Output
TOCONTINENT(Subcontinent Code) 143 Asia
TOCONTINENT(Country Data, 'COUNTRY_ISO_CODE') US-CA Americas

Related resources

Was this helpful?

How can we improve it?
true
What's new in Looker Studio?

Learn about new features and recent changes. Looker Studio release notes live on Google Cloud.

Search
Clear search
Close search
Main menu
5921539320572467728
true
Search Help Center
true
true
true
true
true
102097
false
false