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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors