Power Query Problems

How to Fix Power Query Date Conversion Errors in Excel

Aamir Naveed AkramAamir Naveed Akram Nov 10, 2026 868 views

Question details

The user needs to fix date conversion errors that occur in Power Query when importing CSV files containing dates in the M/DD/YYYY format.

How to Fix Power Query Date Conversion Errors Using the Correct Locale
Product
Excel / Power Query
Device & OS
not provided
Scenario
Importing a CSV file with specific date formats into Excel using Power Query.
Observed behavior
Power Query automatically applies a 'Changed Type' step using the system's default locale, which causes dates formatted as M/DD/YYYY to be misread or cause conversion errors.
Before you start

Before modifying your query, identify the exact date format used in your source CSV file (e.g., M/DD/YYYY or DD/MM/YYYY) so you can match it with the correct regional locale.

Solution 1Recommended

Fix Date Errors by Changing Locale in Power Query UI

The most reliable way to resolve locale-based date errors is to delete the automatic conversion step and manually enforce the correct locale using the Power Query menu.

Power Query tries to be helpful by automatically detecting data types when a file is loaded. However, it uses your computer's system locale to interpret values.

If your CSV contains US-formatted dates (M/DD/YYYY) but your computer is set to a European region (DD/MM/YYYY), the dates will be misread. Fixing this involves removing the automatic step and manually specifying the origin region.

1
Delete the Changed Type Step

In the Power Query Editor, look at the 'Applied Steps' pane on the right side. Click the 'X' icon next to the 'Changed Type' step to remove the automatic formatting.

2
Select the Date Column

Locate the column containing your date values and click on the column header to select it.

3
Access Locale Settings

Right-click the selected column header, hover over 'Change Type', and click on 'Using Locale...' at the bottom of the submenu.

4
Apply the Correct Locale

In the dialog box, set the Data Type to 'Date' or 'Date/Time'. Then, set the Locale to 'English (United States)' (or the region that matches your source data format). Click OK.

Fix Date Errors by Changing Locale in Power Query UI
Apply to Numeric Columns: If your file also contains numbers with regional formats (such as commas for decimals), you should apply the 'Change Type Using Locale' method to those numeric columns as well.
Free Microsoft Office alternative

Handle CSV Imports Easily with WPS Office

If complex Power Query errors and locale mismatch issues in Microsoft Excel are slowing you down, try WPS Office. WPS Spreadsheet offers intuitive, lightweight data import tools that seamlessly handle CSV files, format conversions, and text-to-columns without a steep learning curve.

  1. 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
  2. 2. Open CSV Directly: Launch WPS Spreadsheet and open your CSV file directly without triggering complex backend queries.
  3. 3. Use Text to Columns: Highlight your date column, navigate to the Data tab, and use 'Text to Columns' to easily specify your date format (e.g., MDY) for instant error-free conversion.
Highly compatible with Microsoft Excel (.xlsx, .xls, .csv) formats.Intuitive Text-to-Columns wizard for easy and accurate date format correction.Lightweight software that runs smoothly on almost any PC or Mac.Free to download with a familiar user interface that requires no retraining.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query automatically change data types?

By default, Power Query attempts to detect column types and formats upon import to save you time. However, it uses your operating system's default regional settings (locale), which can misinterpret dates if the imported CSV file was generated in a different region.

How do I stop Power Query from automatically changing column types?

You can disable this feature by going to File > Options and settings > Query Options. Under the 'Current Workbook' section, select 'Data Load' and uncheck the box for 'Automatically detect column types and headers for unstructured sources'.

Does changing the locale in Power Query affect my Windows system settings?

No, using 'Change Type Using Locale' inside Power Query only affects that specific data transformation step in your current Excel workbook. Your Windows regional and language settings remain completely unchanged.

What if my CSV dates are in DD/MM/YYYY format?

If your source CSV uses the DD/MM/YYYY format, you should select a locale that naturally uses this format during the 'Change Type Using Locale' step. Selecting 'English (United Kingdom)' is a standard way to parse DD/MM/YYYY dates successfully.