Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 🙂
Solved! Go to Solution.
Is there any reason as to why you can not split on each occurance and then delete the final column?
Br,
J
@Anonymous ,
Refer below screen shot: Select Left most Occurence in Split column option.
Don't forget to give thumbs up 👍and accept this as a solution if it helped you.
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:
@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:
Don't forget to give thumbs up 👍and accept this as a solution if it helped you.
Is there any reason as to why you can not split on each occurance and then delete the final column?
Br,
J
After the second try, your suggestion worked.
Thanks!
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.
@Anonymous,
Try this