Hello-
I’m working in Power Bi queries… I have a simple task to perform:
Column A [account] with account numbers
Column B [Replace Last xxx| with “Notes for Replacements”
I have to replace last 3 digits of account numbers , which are labeled accordingly.
I created a new column where I’m trying to replace each row with last xxx “-018” to “-002” in Column A:
if [Column B]=" to 002" then replace ( [Column A], 10,11,12,13, “-002”) else [Column A]
|123-456-018| to 002|
|123-326-018|no|
|123-456-018|to 002|.
I’m getting PB message: “Expression. Error: The name ‘Replace’ wasn’t recognized. Make sure it’s spelled correctly.”
I have a filling that I’m talking a wrong approach with a new column.
Please help! Thank you very much!
Natasha