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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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