Notification

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

В настоящее время эта страница недоступна на русском языке. Выберите другой язык в нижней части экрана или воспользуйтесь функцией автоматического перевода Google Chrome.

Data types

Define the kind of data a field holds.

A field's data type tells Looker Studio what kind of data to expect when processing that field. A field's type determines how the data appears in your reports, which operations are allowed for it, and which are not. For example, you can't apply an arithmetic function to a Text type field, or use a Number type field as the date range dimension in a report.

The table below shows the supported field types, along with the kind of data expected as input, and examples of how that data might look in your reports.

Type Expected data Report examples
Number A floating point number. 1,234.56
Percent A floating point number representing a ratio. 61.73%
Duration An integer representing a time duration in seconds. This will be formatted into a standard time display in reports. 01:43:19
Currency

A floating point number representing a monetary value. This will be formatted to include the appropriate currency symbol in reports.

Changing the currency type doesn't convert to the new type. It simply applies the specified currency symbol to the metric value.

$1,234.56

173.9 €

¥30,093

Text Zero or more letters, numbers, characters, or symbols.

A1B2C3

Date & Time

An actual calendar date, a calendar date with time, or an abstract date or time index. This will be formatted according to the locale.

Learn more about dates and times in Looker Studio.

2020-09-21

2020-09-21 12:35 PM

Q4 2020

Week 1

Boolean

A logical value.

If the data set doesn't provide boolean values, you can create a Boolean field using a calculated field with the CASE expression:

CASE WHEN ... THEN TRUE ELSE FALSE END

true

false

Geo

A value representing a geographic region, such as a country name, latitude and longitude, ISO code, or Google Ads criteria ID.

Learn more about visualizing geographic data.

United Kingdom

51.5074,-0.1278

1006886

URL

An address of a World Wide Web page.

https://lookerstudio.google.com/
Hyperlink A clickable link to a URL. Hyperlink fields are created by the HYPERLINK function. See an example of Hyperlink fields
Image An image. Image fields are created by the IMAGE function.  
Image Link A clickable image. Image Link fields are created by the HYPERLINK function. See an example of Image Link fields

To change the field type, use the Type drop-down menu in the data source edit page. If the field editing in reports option is enabled for the data source, you can also change field types directly in reports based on this data source.

If the field editing in reports option is enabled for the data source, you can also apply custom value formatting to Numeric and Date & Time type fields, without sending additional SQL queries to the database.

Эта информация оказалась полезной?

Как можно улучшить эту статью?
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
9001435284669684407
true
Поиск по Справочному центру
true
true
true
true
true
102097
false
false