Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a column containing the names of parents and children merged together that i would like to split into the child and parents names. The split should come before the 'son of' or 'daughter of' but because the number of characters before and after changes and there may or may not be a space between first name and surname before son/daughter I can't split by delimeter. If I have the first name and surname of the child before the son/daughter I need to the keep the whole name so taking just the first word wouldnt work either.
Ideally I want to define " "&"son" as my delimeter but I can't work out how to do this (or even just "son" and then I could trim the extra space)
Thanks
| Joe Bloggs son of Dave |
| Angela Bloggs daughter of Sue |
| Jack son of Bob |
| Jason Smith son of Barbara Smith |
| Claire daughter of Jon |
Solved! Go to Solution.
try this:
Table.SplitColumn(#"Changed Type", "Column1", Splitter.SplitTextByAnyDelimiter({"son of","daughter of"}, QuoteStyle.Csv), {"children", "parent"})
try this:
Table.SplitColumn(#"Changed Type", "Column1", Splitter.SplitTextByAnyDelimiter({"son of","daughter of"}, QuoteStyle.Csv), {"children", "parent"})
Thanks, so obvious now you've shown me!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 18 | |
| 14 | |
| 14 | |
| 10 | |
| 9 |