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
lamorim
Frequent Visitor

Split Column does not split all the data

Hi,

 

I am working with 3 csv files and have on a text column more than a million rows like this

jornaldenegocios.pt/empresas/industria/detalhe/rei-dos-cogumelos-sob-suspeita

jornaldenegocios.pt/opiniao/colunistas/camilo-lourenco/detalhe/um-toque-de-salazar-para-ganhar-as-eleicoes

 

When I apply the Split Column by delimiter to the last "/" on the right

 

There are several rows that does not split.

 

Any ideia how to solve?

 

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @lamorim 

 

You can add Custom Column like below, instead of splitting by delimiter.

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

View solution in original post

8 REPLIES 8
az38
Community Champion
Community Champion

@lamorim 

what exactly rows did not split? give an example please

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Mariusz
Community Champion
Community Champion

Hi @lamorim 

 

I've tried the example you've given and they split ok.

Can you provide a data sample that includes the examples that do not split?

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

I tried this sample data and had the same problem

 

https://www.dropbox.com/s/tv5kgp2lihsj2bh/Janeiro_sample.csv?dl=0

 

 

 

 

Mariusz
Community Champion
Community Champion

Hi @lamorim 

 

Some of the string and with "/" therefore it splits it into blank columns

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

Mariusz
Community Champion
Community Champion

Hi @lamorim 

 

You can add Custom Column like below, instead of splitting by delimiter.

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

Thanks for your help.

 

It worked.

 

Do you thing that it is a bug from PowerBi?

 

 

 

Mariusz
Community Champion
Community Champion

Hi @lamorim 

 

No, as explained in the previous post, some of your strings end with "/" and this the delimiter you have used.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

It is strange because I tried to do it with "detalhe/" and the result was the same.

 

Thanks again

 

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.