Forum Discussion
HElP ME
Hello everyone,
I have problems and I need to solve
I'm pulling information from a text column without standardization..
I need to pull the field "Descrição:: "but I don't have a final delimiter, it's not standardized..
My idea is to pull from "Descrição:: " until next time ":" and clean it later, but I'm not able to
My idea of formula in M is this
Text.Middle([Notas],
(if Text.Contains([Notas],"Descrição:: ") = true then Text.PositionOf([Notas],"Descrição:: ")+12 else 0 ),(
(Text.PositionOf([Notas],"Operação:: ")) - Text.PositionOf([Notas],"Descrição:: ")+12)
)
I even tried in dax
Hi Anonymous ,
Please add a custom column in Power Query Editor:
= Text.BetweenDelimiters([Text],"Descrição:: ",":")If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- v-kkf-msftCommunity Support
Hi Anonymous ,
Please add a custom column in Power Query Editor:
= Text.BetweenDelimiters([Text],"Descrição:: ",":")If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.