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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Madra
Regular Visitor

Combining .csv files but commas are causing errors

Hello everyone,

New to Power Query and this forum too, i couldn't find an answer anywhere else so i'm asking it here (sorry if it has already been answered somewhere) (also, i should mention that it is Power Query in Excel 2016, i don't know if it is different from Power Query in Power BI).

I have multiples automatically generated .csv files in a folder, looking like this (notice that this isn't a table) :

Madra_0-1641916159255.png
I'm trying to combine them using Power Query so here is what i get at the beginning:

Madra_3-1641916639167.png

 and after combining the binaries, here is what i have, and there is my problem, the comma is causing an error:

Madra_1-1641916387164.png
If i remove the errors, here is the result i'm expecting, but i obviously don't want to remove the errors as i need those rows.

Madra_2-1641916435700.png
I tried to replace the comma character in the binary but couldn't find a way to do it.

Anyone has an idea to help me ?

Thanks in advance,
Madra

1 ACCEPTED SOLUTION
Madra
Regular Visitor

Hello, found my solution.

For anyone interested by it, i went into the advanced editor and changed the automatically generated function from Csv.Document(#"Combined binaries", null, null, 1252) to Csv.Document(#"Combined binaries",[Delimiter=";",Encoding=1252])

View solution in original post

1 REPLY 1
Madra
Regular Visitor

Hello, found my solution.

For anyone interested by it, i went into the advanced editor and changed the automatically generated function from Csv.Document(#"Combined binaries", null, null, 1252) to Csv.Document(#"Combined binaries",[Delimiter=";",Encoding=1252])

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.