Skip to content

EndWith

Description

EndWith returns true when text ends with a specified suffix.

Syntax

EndWith(text, suffix)

Parameters

Parameter Required Type Description
text Yes String, field, or expression Text to check.
suffix Yes String Suffix to match.

Notes

Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.

Example

EndWith(ProductCode, "A")

The expression returns the calculated result according to the current query context.