Chart & Visualization Issues

Fix a Line Chart from Power Query Date and Time Data in WPS Spreadsheets

Kushani NimanthikaKushani Nimanthika Nov 13, 2026 869 views

Question details

The user needs to plot multiple temperature data sets from a Power Query table in a WPS Spreadsheets line chart and resolve why the chart cannot plot the data correctly.

Fix a Line Chart from Power Query Date and Time Data in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
The user has loaded a Power Query table containing Date/Time values and multiple temperature columns, and wants to display them as a line chart over time.
Observed behavior
The date column is interpreted as text, so the line chart cannot plot the temperature series correctly or the date axis does not sort as expected.
Before you start

Open the WPS Spreadsheets workbook that contains the Power Query table and make sure the query is visible in the Queries & Connections pane. Identify the exact date column and the temperature columns that should be used for the line chart.

Solution 1Recommended

Set the Power Query Date Column to Date/Time and Reload the Line Chart

Use this solution when the source date column is being interpreted as text, which prevents the line chart from plotting temperature values over a proper time axis.

Power Query may import source date/time strings as text if the locale or type detection is not explicit. Changing the column type inside Power Query, instead of formatting cells after loading, ensures the corrected Date/Time values are stored in the query output.

1
Open the Power Query Editor

In WPS Spreadsheets, go to the Data tab and select Queries & Connections to open the workbook query list, then right-click the query that supplies the temperature data and choose Edit or Open Power Query Editor.

2
Select the date column

In the Power Query Editor, click the header of the date column that currently imports as text.

3
Change the data type to Date/Time

On the Transform or Home tab, open the Data Type drop-down list and choose Date/Time, or right-click the column and choose Change Type > Date/Time.

4
Set the correct locale for source dates

If the values still do not convert, right-click the date column and choose Change Type > Using Locale, set the data type to Date/Time, and choose English (United States) or the locale that matches the source date format.

5
Close, load, and recreate the chart

Click Close & Load to return the corrected table to the worksheet. Select the refreshed table or range, go to Insert, and insert a Line chart; then confirm that the Date/Time column is used as the axis and the temperature columns are plotted as series.

Set the Power Query Date Column to Date/Time and Reload the Line Chart
Date/Time values now plot correctly: After the query reload, the line chart uses a true date/time axis and multiple temperature series can be displayed properly.
WPS Spreadsheets Power Query fix

Fix Power Query Date/Time Charts in WPS Spreadsheets

Use WPS Spreadsheets to correct Power Query date/time imports and create a reliable line chart for multiple temperature series without switching to another Office suite.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office and open the Excel-compatible workbook that contains the Power Query table.
  2. 2. Edit the Power Query date column: Go to Data > Queries & Connections, right-click the query, choose Edit, and set the date column to Date/Time with the matching locale.
  3. 3. Close and load the query: In the Power Query Editor, click Close & Load to write the corrected Date/Time values back to the worksheet.
  4. 4. Insert the line chart: Select the refreshed table and go to Insert > Line chart, then set the Date/Time column as the horizontal axis and the temperature columns as the series.
  5. 5. Refresh when source data changes: Use Data > Refresh All to reload the query and keep the line chart updated with new Date/Time and temperature values.
Corrects Power Query Date/Time type detection so multiple temperature series plot on a true date axisLoads and refreshes Power Query tables directly inside WPS SpreadsheetsReads and writes Excel .xlsx files with full Microsoft Office format compatibilityFree, lightweight, and familiar spreadsheet interface for query and chart tasksNo add-in purchase required for the Power Query and line chart workflow
microsoft office alternative - wps office

Frequently Asked Questions

Why is my Power Query date column importing as text in WPS Spreadsheets?

Power Query often imports dates as text when the source format or locale is not detected. In the Power Query Editor, change the column type to Date/Time, and if needed use Change Type > Using Locale to match the source format, such as English (United States).

How do I open Power Query in WPS Spreadsheets?

Go to the Data tab and open Queries & Connections, then right-click the query you want to edit and choose Edit or Open Power Query Editor.

How do I create a line chart from a Power Query table after fixing the date column?

After Close & Load refreshes the table, select the Date/Time column and the temperature columns, go to Insert, and choose a Line chart. Set the Date/Time field as the axis and the temperature fields as the series.

Do I need to reload the query after changing the date type?

Yes. The line chart only sees the corrected values after you click Close & Load or refresh the query connection. Existing charts may need to be re-selected or recreated from the refreshed table.

Can WPS Spreadsheets open Excel Power Query workbooks?

Yes. WPS Spreadsheets reads and writes Excel .xlsx workbooks and can work with Power Query tables in a familiar spreadsheet environment, so you can fix date/time charting issues without losing Excel compatibility.