Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
BAFreedom
Helper I
Helper I

How to split based off of space and a number?

How do you split a colun such that it splits where the delimiter is a space and number?

Eg. Without quotations:

" 1"

" 2"

" 3"

 etc.

Thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @BAFreedom ,

Your data has to be organized in a way that the space is after a identifier in your data set. Then you can run the extract function in power query to only take values after the delimiter _ .

1. _ 32
2. _ 35
3. _ 36

If it is not, you could try using the function in Power Query which is explained here

https://community.powerbi.com/t5/Desktop/Power-Query-Insert-a-character-to-a-string/m-p/349199

Hope that helps!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @BAFreedom ,

Your data has to be organized in a way that the space is after a identifier in your data set. Then you can run the extract function in power query to only take values after the delimiter _ .

1. _ 32
2. _ 35
3. _ 36

If it is not, you could try using the function in Power Query which is explained here

https://community.powerbi.com/t5/Desktop/Power-Query-Insert-a-character-to-a-string/m-p/349199

Hope that helps!

Thanks! Definitely helps!!

amitchandak
Super User
Super User

@BAFreedom , Power query Split column by Delimiter or use Trim - https://www.youtube.com/watch?v=FyO9Vmhcfag

 

Power Query Trim and Clean : https://youtu.be/NRYPsCnS0w4

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.