Notification

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

STARTS_WITH

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

Sample usage

STARTS_WITH(Campaign, "Summer")

Syntax

STARTS_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
STARTS_WITH(Campaign, "Summer") Summer Sale true
STARTS_WITH(Campaign, "Sale") Summer Sale false

Related resources

Was this helpful?

How can we improve it?
true
Get Looker Studio Pro

Upgrade now to get all the features of Looker Studio that you already know, plus enhanced enterprise capabilities and technical support

Search
Clear search
Close search
Google apps
Main menu
1099650014408478118
true
Search Help Center
true
true
true
true
true
102097