Forum Discussion
PowerBINoob24
3 years agoResolver I
Stripping characters from string
I have a number of records that have an employee's title and name. The format is Title (Name). Is there a way to strip all characters away except for the employee's name? Thanks in advance.
- 3 years ago
Thanks for clarifying. You can use Extract function in Power Query Editor. Please find the code and sceenshot attached.
#"Extracted Text Between Delimiters" = Table.TransformColumns(#"Changed Type1", {{"Name", each Text.BetweenDelimiters(_, "(", ")"), type text}}) - 3 years ago
So easy once you know where to look. Thanks!
PowerBINoob24
3 years agoResolver I
Thank you. While that works, I'm not looking to split the columns. Just need to strip everything but the name.
AbhinavJoshi
3 years agoResponsive Resident
Thanks for clarifying. You can use Extract function in Power Query Editor. Please find the code and sceenshot attached.
#"Extracted Text Between Delimiters" = Table.TransformColumns(#"Changed Type1", {{"Name", each Text.BetweenDelimiters(_, "(", ")"), type text}})
- PowerBINoob243 years agoResolver I
So easy once you know where to look. Thanks!