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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Split Column - Delimiter Issue

Hello,

 

I have a problem with splitting a column by delimiter.

 

The values within the column look like this "ITEM01, ITEM02, " whih leads in this example to three columns (ITEM01, ITEM02 and an empty one). How can I make it to only get two columns (ITEM01 and ITEM02)

 

 

Thanks for your help 🙂

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

Is there any reason as to why you can not split on each occurance and then delete the final column?

Br,
J


Connect on LinkedIn

View solution in original post

8 REPLIES 8
Tahreem24
Super User
Super User

@Anonymous ,

 

Refer below screen shot: Select Left most Occurence in Split column option.

Capture.JPG

 

Don't forget to give thumbs up 👍and accept this as a solution if it helped you.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

I followed your advice but I got the following results:

 

Example_01:

"ITEM01, " --> [ITEM01] []

Example_02:

"ITEM01, ITEM02, ITEM03, " --> [ITEM01] [ITEM02, ITEM03, ]

 

I used the following settings:

 

example.png

 

@Anonymous,

 

ON YOUR QUESTION, IT IS ONLY ITEM1 AND ITEM 2.

HOW YOU WANT TO SPLIT THE ITEMS IN THIS CASE?

@Anonymous ,

 

How many Items do you have? if it is upto Item3 so use below screen shot and respected output:

Capture.JPG

 

1.JPG

 

Don't forget to give thumbs up 👍and accept this as a solution if it helped you.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
tex628
Community Champion
Community Champion

Is there any reason as to why you can not split on each occurance and then delete the final column?

Br,
J


Connect on LinkedIn
Anonymous
Not applicable

After the second try, your suggestion worked.

 

Thanks!

Anonymous
Not applicable

There are also cells without an item and therefore without a delimiter.

Is there a way to cut off the last two characters?
Then I could do this and then split as usual.

mussaenda
Super User
Super User

@Anonymous,

 

Try this

2020_01_21_13_23_12_ASSEMBLY_MONITORING_Power_Query_Editor.png

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.