'Split Column in PowerBi
Solution 1:[1]
You don't show what you want for a result. In particular you don't show if you want to retain the surrounding parentheses.
If you do want to retain them, then merely split on the transition by inserting this M-Code in the Advanced Editor in the place where you want to do the split.
let
Source = Excel.CurrentWorkbook(){[Name="Table14"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Qualifications", type text}}),
//split on transition from " " to "("
#"Split Column by Character Transition" = Table.SplitColumn(#"Changed Type", "Qualifications",
Splitter.SplitTextByCharacterTransition((c) => c <> "(", {"("}), {"Qualifications", "Date"}),
//remove trailing " " from first column
#"Trimmed Text" = Table.TransformColumns(#"Split Column by Character Transition",{{"Qualifications", Text.Trim, type text}})
in
#"Trimmed Text"
If you want to remove the parentheses, then just split on the "(" and remove the trailing ")"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |


