Hi,
I would like to extract text from the input string and get the result provided in the output by using Power Query.
input:
hello bd AD-001234 hb
this is AD-3245
output:
AD-001234
AD-3245
Can anyone give me some tips? not using R?
Thank you
Solved! Go to Solution.
Create a Custom Column with this code
List.Select(Text.Split([input]," "), each Text.Contains( _ , "-")){0}
regards
Phil
Proud to be a Super User!
Hi,
What is basis of extraction? Everthing from AD till the next space? Please clarify.
Create a Custom Column with this code
List.Select(Text.Split([input]," "), each Text.Contains( _ , "-")){0}
regards
Phil
Proud to be a Super User!
User | Count |
---|---|
136 | |
62 | |
57 | |
57 | |
46 |
User | Count |
---|---|
132 | |
62 | |
58 | |
56 | |
50 |