Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi there
I have a file that is messy as anything and I would like to extract the numbers out of a particular column (some have combination of numbers and text and others just numbers. The column looks like this (sorry I had to paste as plain text)
Column A
58443
SO Stage
W58843
W58843-PB
57684
SO Stage
W57684
W57684-PB
Then the final result should look like this
Custom Column
58443
58843
58843
57684
57684
57684
Any help would be greatly appreciated!
Solved! Go to Solution.
Hi @maccaronda
Try this
=Text.Select( [Column A], {"0".."9"} )
Very elegant; thanks
Hi @maccaronda
Try this
=Text.Select( [Column A], {"0".."9"} )
Hey @Mariusz ,
this is a brilliant solution. I was looking for my approach, as I did not bookmark it. I'm happy that I did find your approach first, very elegant.
~Tom
Thanks!
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 26 | |
| 22 | |
| 22 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 35 | |
| 28 | |
| 21 | |
| 19 | |
| 17 |