DataFormat.Error: There were more columns in the result than expected.

Joined
Feb 16, 2016
Messages
21
Dear,

I am currently trying to merge several data tables into one in order to create a dashboard.
One of the datasets is being a pain in the *** since it was not dumped properly and has some anomalies. I have included one of the files here: https://drive.google.com/file/d/0B7PlYvW7IcVndDJQVGtsLXNRYkk/view?usp=sharing
When you scroll down to about the middle you can see the difference in the dump.

Following issue:
When I try to merge this table with other tables I encounter an error:
DataFormat.Error: There were more columns in the result than expected.
Details:
Count=43

I am not that experienced with power querry but would expect the difference in data to be the rootcause.
Following I have tried:

  • I have found some posts about how to remove this problem when occurring in the first line with the transform > delimiter option but this does not work for me.
  • Filtering the first column to not include the 'date rows' worked but upon merge error occurred again

Any idea's on how to solve this issue would be more then welcome :)

Kind regards,
Philippe
 
Last edited:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hey all, I was able to find a solution:
I imported the files as text files, after which not all data was properly split, only into 4 columns. I then used the delimiter option for a column split, evrything works fine now.
 
Upvote 0

Forum statistics

Threads
1,223,268
Messages
6,171,099
Members
452,379
Latest member
IainTru

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