Forum Discussion
Replacing values in Query Editor
Hi there
If I want to clean up a text field by removing text such as "CO" "LTD" "UK" I have an issue where if those values are within a word, they are also removed. I cannot include spaces either side of the word because quite often they are at the end of the field.
Is there any way around this?
Is there a character I can include which tells Power BI to look for these values independently but without the use of spaces? Jemma
- Anonymous5 years ago
Anonymous
Please refer to this blog, you can just replace with blank.Multiple replacements or translations in Power BI and Power Query – The BIccountant
Paul Zheng _ Community Support Team
2 Replies
- amitchandakSuper User
Anonymous , How about, Use Text.ToList, then List.RemoveItems and then use Text.Combine
- AnonymousNot applicable
Anonymous
Please refer to this blog, you can just replace with blank.Multiple replacements or translations in Power BI and Power Query – The BIccountant
Paul Zheng _ Community Support Team