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
jamieham
Helper II
Helper II

Splitting Detail in a column into seperate columns

I'm trying to split up a column (Field Zone) that has a letter and number but I'm not sure how to do it. I want to split it into a column called Zone (A, B, C or D) and a column called Width (1, 2, 3, 4, 5).

 

Any help would be greatly appreciated.

 

Field Zone     Zone           Width

A1                      A                1

B3                      B                 3

C1                      C                1

D5                      D                5

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jamieham 

Zone= left([Field Zone],1)

Width= right([Field Zone],1)

 

or

Width= right([Field Zone],len([Field Zone])-1)

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@jamieham 

Zone= left([Field Zone],1)

Width= right([Field Zone],1)

 

or

Width= right([Field Zone],len([Field Zone])-1)

Thanks the top solution worked

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.