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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.

Top Solution Authors