Forum Discussion
shuhn1229
Resolver I
3 years agoExtracting From A Field with Multiple Delimiters
Hi all, I am relatively new to power query and am trying to extract all the text between [] delimiters in a field, if they exist. See example below: Input Output [Apples] - 46 [Oranges...
jbwtp
Memorable Member
3 years agoHi shuhn1229,
This may help:
Table.AddColumn(#"Changed Type", "Calculated", each Text.Combine(List.Transform(List.Select(Text.Split([Input], "["), each Text.Contains(_, "]")), each Text.BeforeDelimiter(_, "]")), ", "))
Cheers,
John
lpetty421
Advocate I
2 years agoThanks John!!!! Yours was the best answer of all!!!!!