Row Skip Issue

ExcelMA

New Member
Joined
May 8, 2024
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi everyone,

I'm having some trouble with Power Query and CSV (Comma Delimited) files. When I import a CSV that appears formatted correctly, some rows are getting split strangely. Half the data jumps to the next row. This happens with multiple files, so I'm hoping someone can help me figure out a solution.

I've attached a screenshot that shows how the data looks after the import issue occurs.

Any advice would be greatly appreciated!
 

Attachments

  • Corrupt.PNG
    Corrupt.PNG
    15.4 KB · Views: 8

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
You might want to give this a try:
edit your query as follows :
Csv.Document(file, [Delimiter=",", Encoding=1252, QuoteStyle=QuoteStyle.Csv])

Your current query probably shows the default of QuoteStyle=QuoteStyle.None
Source: [URL="https://community.fabric.microsoft.com/t5/Desktop/CSV-Carriage-Returns-Splitting-Data-to-New-Rows-in-Power-Query/td-p/1941737"]CSV Carriage Returns Splitting Data to New Rows in Power Query[/URL]
And references: Csv.Document - PowerQuery M
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,116
Messages
6,128,929
Members
449,479
Latest member
nana abanyin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top