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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.