Replace
Description
Replace replaces matching text with another value.
Syntax
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
text |
Yes | String, field, or expression | Source text. |
old_text |
Yes | String | Text to replace. |
new_text |
Yes | String | Replacement text. |
Notes
Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.
Example
The expression returns the calculated result according to the current query context.