Notification

This Help Center is moving to Cloud. Learn more about the migration.

CONTAINS_TEXT

Returns true if the specified text is found in the field or expression, otherwise returns false.

Sample usage

CONTAINS_TEXT(Campaign, "Sale")

Syntax

CONTAINS_TEXT(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 Input Output
CONTAINS_TEXT(Campaign, "Sale") Summer Sale true
CONTAINS_TEXT(Campaign, "discount") 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
Google apps
Main menu
17470714570548848066
true
Search Help Center
true
true
true
true
true
102097
false
false