Notification

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

Trang bạn đã yêu cầu hiện không có sẵn bằng ngôn ngữ của bạn. Bạn có thể chọn ngôn ngữ khác ở cuối trang hoặc dịch nhanh mọi trang web sang ngôn ngữ mà bạn chọn bằng cách sử dụng tính năng dịch được tích hợp sẵn trong Google Chrome.

CONCAT

Returns text that is the concatenation of two or more fields or expressions.

Sample usage

CONCAT(Campaign, " , " , Campaign Code)

Syntax

CONCAT(X, Y [,Z, ...])

Parameters

  • X - literal text, a field, or an expression containing at least one field.
  • Y - literal text, a field ,or an expression containing at least one field.
  • Z - literal text, a field, or an expression containing at least one field.

Notes

  • Aggregated fields cannot be used as parameters.

Examples

In the following examples, note that you can use either single quotes or double quotes, but they must be used consistently.

Example formula Output
CONCAT(Campaign, " , " , Campaign Code) Summer Sale , SS01
CONCAT('Browser: ', Browser, ' OS Version: ', OS version) Browser: Edge Version: 85.0.564.44

Related resources

Thông tin này có hữu ích không?

Chúng tôi có thể cải thiện trang này bằng cách nào?
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
855413196368260119
true
Tìm kiếm trong Trung tâm trợ giúp
true
true
true
true
true
102097
false
false