How to Fix Incorrect Dates After Importing Web Data in WPS Power Query
Question details
The user wants to identify why dates imported from a website into Power Query appear in the wrong year and to verify whether the Power Query preview is showing current data before applying date transformations.

- Product
- WPS Office Spreadsheets - Power Query
- Device & OS
- not provided
- Scenario
- Importing or refreshing web data in WPS Office Power Query, then seeing date values with an incorrect year in the query preview or worksheet.
- Observed behavior
- The date column is interpreted with the wrong year, likely because the preview is stale, or because the source locale and column data type do not match the website's date format.
Before changing any transformations, refresh the Power Query preview and the workbook connection so you are not troubleshooting cached or outdated data. Also check the live source website and note whether the dates use a month-first or day-first format.
Refresh the Power Query Preview and Workbook Connection First
Use this first to rule out stale Power Query preview data before editing date transformations.
In WPS Office, open the workbook and click the Data tab, then open the Queries & Connections pane. Right-click the web query and choose Edit to open Power Query Editor.
In Power Query Editor, go to the Home tab and click Refresh Preview to rerun the query against the current web source.
After closing Power Query Editor, click Data > Refresh All in the worksheet to update the connection and loaded table.

Set the Correct Column Data Type and Locale for Date Columns
Use this when refreshed data still shows wrong years or swapped month/day values because Power Query is interpreting text using the wrong regional format.
Verify the Source Data and Web Query URL
Use this when dates are still incorrect after refresh and locale changes, or when the preview appears out of date.
Correct Power Query Date Errors Directly in WPS Office
Fix incorrect web-imported dates in WPS Office by refreshing Power Query previews, setting date column types with the correct locale, and editing web query sources while keeping full Excel compatibility.
- 1. Download and install WPS Office: Download WPS Office Free from the official WPS website and install it on your Windows or Mac device to use WPS Spreadsheets and Power Query.
- 2. Open the affected workbook: Launch WPS Office, open the workbook that contains the web query, and confirm the file uses a supported Excel or WPS workbook format.
- 3. Refresh the web data: Click the Data tab and use Refresh All, or open Power Query Editor and click Refresh Preview to pull current data from the website.
- 4. Correct date type and locale: In Power Query Editor, select the problematic date column, set it to Date, and use Change Type > Using Locale to match the source website's date format.
- 5. Save the corrected workbook: Save the workbook after the dates are corrected; WPS Office preserves the connection and Excel-compatible formatting for future refreshes.

Frequently Asked Questions
Why does Power Query import web dates in the wrong year?
The most common cause is an unrefreshed preview or workbook connection, followed by an incorrect column data type or locale. Refresh first, then set the date column to Date using the matching regional locale.
How do I refresh the Power Query preview in WPS Office?
Open the workbook, go to the Data tab, open Queries & Connections, right-click the query, and choose Edit. In Power Query Editor, click Refresh Preview on the Home tab, then use Data > Refresh All in the worksheet.
What locale should I choose for a DD/MM/YYYY web source?
Choose a day-first locale such as English (United Kingdom). For MM/DD/YYYY sources, choose a month-first locale such as English (United States). Use Change Type > Using Locale in Power Query Editor.
Why is my date column imported as text or showing swapped days?
Power Query is not converting the text using the correct locale. Select the column, use Change Type > Using Locale, pick Date, and select the locale that matches the source website.
How can I check whether the Power Query preview is current?
Compare the preview against the live website values and last updated date, then refresh the query preview and the workbook connection before applying any date transformation.




