Excel file import issue

gand3rson

New Member
Joined
Jul 28, 2011
Messages
35
importing a fairly large excel xlsx file (600,000 rows) into PP - it wont work says

The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.

if i convert to CSV after some manipulation is works sometimes

any ideas?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I would check your field names in the excel file and be sure your are not using any common function names or SQL commands. Things like "Year", "Month", "Hour", etc. are reserved function names and depending how you might use them as a field name and then query them it could cause a problem. You can google for complete lists of SQL and DAX reserved terms.

Also, look out for special characters in your field names. The safest bet is to stick with letters, numbers, and the occasional underscore when naming fields.
 
Upvote 0
It's possible that it could be an issue depending how it is used. Date and Year are both reserved function names. What about using DateYear? Or Date_Year? Or a different term altogether?
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,871
Members
449,054
Latest member
juliecooper255

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