Notification

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

RIGHT_TEXT

Returns a number of characters from the end of a specified string.

Sample usage

RIGHT_TEXT(Campaign, 4)

Syntax

RIGHT_TEXT(X, length)

Parameters

  • X - a field or expression of any type.
  • length - The number of characters to include in the substring. length can be a field, expression, or literal value.

Examples

Example formula Input Output
RIGHT_TEXT(Campaign, 4) Summer Sale Sale
RIGHT_TEXT(Campaign, 5) Summer Discount count

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