Power Query Problems

How to Fix Power Query Changing UK Dates to US Format

Nimra MalikNimra Malik Nov 11, 2026 868 views

Question details

The user needs to prevent Power Query from misinterpreting UK date formats as US dates or generating conversion errors during data transformation.

How to Fix Power Query Changing UK Dates to US Format or Returning Errors
Product
Microsoft Excel / Power Query
Device & OS
Windows
Scenario
Loading and transforming dataset columns containing UK-formatted dates (DD/MM/YYYY) into Power Query for analysis.
Observed behavior
Ambiguous dates like 11-05-2024 are incorrectly flipped to US format (November 5th instead of May 11th), while dates like 21-05-2024 produce errors because there is no 21st month in the US calendar.
Before you start

Verify the original format of your source data (such as a CSV or raw Excel file) to confirm whether the dates are stored as raw text or actual date values before importing them into Power Query.

Solution 1Recommended

Adjust Power Query Regional Settings to Match Source Data

Set the Power Query workbook locale to English (United Kingdom) so it correctly parses DD/MM/YYYY formats.

By default, Power Query may inherit the system's regional settings or default to a US locale. Adjusting the locale for the current workbook ensures all data imports follow the correct UK date structure.

1
Open Query Options

In Excel, go to the 'Data' tab on the ribbon, click 'Get Data', and select 'Query Options'.

2
Navigate to Regional Settings

Under the 'Current Workbook' section in the left pane of the Query Options window, select 'Regional Settings'.

3
Select the Correct Locale

Under the 'Locale' dropdown menu, choose a locale that matches your source data format, such as 'English (United Kingdom)'.

4
Apply and Convert

Click 'OK', then return to the Power Query Editor. Convert your problematic column to the 'Date' data type, and the dates will parse without errors.

Adjust Power Query Regional Settings to Match Source Data
Tip: Changing this setting under 'Current Workbook' only affects the active file, keeping your other Excel projects safe from unexpected formatting changes.
Free Microsoft Office alternative

Handle Your Data Effectively with WPS Office

If you frequently struggle with complex Excel data imports and date formatting errors, try WPS Office. It provides a lightweight, highly compatible, and user-friendly spreadsheet environment for all your data analysis needs without the heavy resource usage of Microsoft Office.

  1. 1. Open Data in WPS: Launch WPS Spreadsheet and open your dataset or CSV file.
  2. 2. Select Date Column: Highlight the column containing the dates you want to format.
  3. 3. Format Cells: Right-click, choose 'Format Cells', navigate to the 'Date' category, and select your preferred regional date format.
Seamlessly open, edit, and save Microsoft Excel (.xlsx, .csv) files with perfect format compatibility.Intuitive date formatting and data transformation tools that easily handle UK and international date structures.Free and lightweight, running smoothly on Windows, Mac, and Linux devices without slowing down your system.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query change my UK dates to US format?

Power Query often defaults to the US locale (MM/DD/YYYY) based on its installation defaults or Windows system settings. When it encounters an ambiguous UK date like 11-05-2024 (May 11th), it misinterprets the 11 as the month (November 5th).

Why do I get a 'DataFormat.Error' on some dates but not others?

This occurs when a UK date has a day greater than 12 (e.g., 21/05/2024). Since there is no 21st month, Power Query's default US locale fails to parse it and returns an error. Days 12 and under don't trigger errors because they are mathematically valid as months, leading to silent data corruption.

Will changing the Power Query locale affect my other workbooks?

No. If you change the locale under 'Current Workbook' > 'Regional Settings', the adjustment only applies to the specific Excel file you are currently editing. It will not alter the global settings for your other workbooks.

Can I fix the date format directly in the Power Query M formula?

Yes. You can manually edit the M code in the Advanced Editor. When using the Table.TransformColumnTypes function, add the culture parameter (e.g., "en-GB") as the third argument to enforce UK date formatting explicitly.