Notification

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

你要瀏覽的網頁目前並未提供你慣用的語言版本。你可以在頁面底部選取其他語言版本,或使用 Google Chrome 內建的翻譯功能,將網頁內容即時翻譯成所選的語言。

ENDS_WITH

Returns true if the field or expression ends with the specified text, otherwise returns false.

Sample usage

ENDS_WITH(Campaign, "Sale")

Syntax

ENDS_WITH(X, text)

Parameters

  • X - a field or expression of any type.
  • text - the text to find within X. text can be a field, expression, or literal value. text is case-sensitive.

Examples

Example formula Data in Output
ENDS_WITH(Campaign, "Sale") Summer Sale true
ENDS_WITH(Campaign, "Summer") Summer Sale false

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
1581090479565758884
true
Search Help Center
true
true
true
true
true
102097
false
false