The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everybody,
I'm trying to extract in powerquery an information of minimum length of 8 figures in a text.
I don't know how to do that. Could someone please help me?
Here is an example with the expected result
Solved! Go to Solution.
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26Rh1Ck2Fo9nETCIftF?e=hXieqJ
[
f= {"a".."z","A".."Z",";","-",",","(",")","/",".","-","_","#","№","@","?",":","!","%","&","$","#","*","+",">","<","""","<<","«","»"},
to = Text.Combine(List.Select( Splitter.SplitTextByAnyDelimiter(f)([Noh]),(x)=> Text.Length(x)>=8))
][to]
I corrected it, try again, but it's better if you show me where code can't extract
First, thanks for your answer.
Many of my cases are good with your solution but I don't understand it, so can't adjust with some other not right cases.
Could you explain me?
show these cases
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26Rh1Ck2Fo9nETCIftF?e=hXieqJ
[
f= {"a".."z","A".."Z",";","-",",","(",")","/",".","-","_","#","№","@","?",":","!","%","&","$","#","*","+",">","<","""","<<","«","»"},
to = Text.Combine(List.Select( Splitter.SplitTextByAnyDelimiter(f)([Noh]),(x)=> Text.Length(x)>=8))
][to]
I corrected it, try again, but it's better if you show me where code can't extract