REPLACE is a DAX function that replaces part of a text string with a different text string.
Syntax
REPLACE(
OldText,
StartPosition,
NumberOfCharacters,
NewText
)
Argument | Properties | Description |
---|---|---|
OldText | The string of text that contains the characters you want to replace. | |
StartPosition | The position of the character in old_text that you want to replace with new_text. | |
NumberOfCharacters | The number of characters that you want to replace. | |
NewText | The replacement text. |