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.
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
@Nilson ,
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:
ON YOUR QUESTION, IT IS ONLY ITEM1 AND ITEM 2.
HOW YOU WANT TO SPLIT THE ITEMS IN THIS CASE?
@Nilson ,
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |