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
devzack
Regular Visitor

Carriage Returns when Combining multiple CSV documents

Hello, 

 

I'm working on importing multiple CSV documents from a sharepoint folder using the combine files (binaries) function. When I do this there is a carriage return in an address field that will split the row into 2 seperate rows of data. because of the structure of the data this ends up shifting all of the data over a few columns. 

 

I can completed this operation when important importing a single CSV by changing the QuoteStyle=QuoteStyle.Csv however I do not have the option for quote style CSV in the combine files statement or anywhere in the documentation. 

 

Source File

Row NumberPersonAddressCreate DateTitle
1A

123 State St

123 State St

1/1/20222Install

 

Actual Outcome

Row NumberPersonAddressCreate DateTitle
1A123 State St(null)(null)
2123 State St"1/1/2022Install(null) 

 

Intended Outcome

Row NumberPersonAddressCreate DateTitle
1A

123 State St 123 State St 

1/1/2022Install

 

 

1 REPLY 1
AlexisOlson
Super User
Super User

If you're using the combine files UI, then it likely creates some helper queries like Sample FileTransform File, and Transform Sample File. I think you should be able to add "QuoteStyle=QuoteStyle.Csv" to Transform Sample File the same way you can add it to a single CSV. That should update the Transform File function which is used in your main query that does the combining.

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.

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.