Power Query Date Error with no date columns?!

macfuller

Active Member
Joined
Apr 30, 2014
Messages
319
Office Version
  1. 365
Platform
  1. Windows
I am pulling a .csv file into Excel Office 365 using standard Power Query tools. Version 1908 Build 11929.20562.

I have removed all date columns in the file, but I'm still getting this error when I load to the data model. This is happening on multiple users' machines in our office. We've tried simplifying privacy settings and other features.

1582321854032.png


This is the source string
Source = Csv.Document(File.Contents("S:\OFP\Sources\3PL_AP_SPEND.csv"),[Delimiter=",", Columns=48, Encoding=1252, QuoteStyle=QuoteStyle.None]),

We've tried removing errors from individual columns and from the table
#"Removed Errors" = Table.RemoveRowsWithErrors(#"Filtered Rows"),

When there were date columns we tried adjusting locale info
#"Changed Type with Locale" = Table.TransformColumnTypes(#"Removed Errors", {{"Accounting Date", type date}}, "en-US"),

But the error message persists. Older spreadsheets that pulled data from this file are unaffected and can retrieve the updated info. But any new spreadsheet that tries to access this file gives the error.

It seems any attempt to change the type of any column from the .csv file triggers this message. If we pull in the data with no change to the column types (i.e. all are text) the data gets pulled into the model.

Has anyone else seen this behavior?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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