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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi
I have values like this:
BL, JZ5, CC6.3
So Text combined with an integer or Text combined with a decimal value.
I would like the data to split into Col A and Col B
| Data | Col A | Col B |
| BL | BL | |
| JZ5 | JZ | 5 |
| CC6.3 | CC | 6.3 |
Could anyone help with a power query solution to splilt the text from the number?
Just not having any luck with my power query trials.
Thanks
Solved! Go to Solution.
Following will be a simple solution based on test cases presented by you.
For selecting Text
= Text.Select([Data], {"A".."Z","a".."z"})
For selecting Number
= Text.Select([Data], {"0".."9","."})
Or split by character transition
= Table.SplitColumn(
Source,
"Data",
Splitter.SplitTextByCharacterTransition((c) => not List.Contains({"0".."9"}&{"."}, c), {"0".."9"}),
{"Col A", "Col B"})
Stéphane
Following will be a simple solution based on test cases presented by you.
For selecting Text
= Text.Select([Data], {"A".."Z","a".."z"})
For selecting Number
= Text.Select([Data], {"0".."9","."})
if the first two characters are always letters followed by a number or not, then you can split the columns after the second character. "Add Column", "Extract", "Length" for example?
Sorry - I should have mentioned that the text might be 2-3-4 characters, so none of those solutions work.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 4 | |
| 4 | |
| 4 |