Power Query Problems

Fix Excel Formulas That Stop Working After a Power Query Refresh

Adam DavisAdam Davis Dec 2, 2026 868 views

Question details

The user needs Excel formulas to calculate correctly after a Power Query refresh.

Fix Excel Formulas That Stop Working After a Power Query Refresh
Product
Microsoft Excel Power Query
Device & OS
not provided
Scenario
A query refresh imports data used by Excel formulas.
Observed behavior
Formulas stop calculating correctly after the refresh; affected values may be stored as text.
Before you start

Identify the query output column used by the affected formulas and check whether its numeric values are stored as text. Keep identifiers with meaningful leading zeros as text rather than converting them to numbers.

Solution 1Recommended

Convert Text Numbers and Set the Power Query Data Type

Use this method when refreshed values are stored as text and formulas need numeric input.

1
Set the column format

Select the affected worksheet column, then choose Home > Number Format > General. Changing the format alone does not convert existing text values.

2
Convert existing values

With the single affected column selected, choose Data > Text to Columns, then click Finish. Check that the values are now recognized as numbers.

3
Set the query data type

Open Data > Queries & Connections, right-click the query, and select Edit. In Power Query Editor, select the column and use Transform > Data Type to choose Whole Number or Decimal Number, as appropriate.

4
Reload and verify

Select Home > Close & Load, then use Data > Refresh All. Check the refreshed values and the formulas that refer to them.

Convert Text Numbers and Set the Power Query Data Type
Check number separators: If decimal or thousands separators are interpreted incorrectly, right-click the column in Power Query Editor and choose Change Type > Using Locale to select the appropriate number type and locale.
Free Microsoft Office alternative

Work With Spreadsheet Formulas in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for common Excel formats, making it easy to move everyday workbook work. It does not fix Microsoft Excel Power Query refresh behavior; check query-dependent workbooks in Excel.

Use formulas and number formats in WPS Spreadsheets.Open and save Microsoft Excel XLS and XLSX files.Work in a familiar, easy-to-use spreadsheet interface.Use a free, lightweight office suite for everyday workbook tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why do formulas return incorrect results after a query refresh?

The refreshed column may contain numbers stored as text. Check the column in Power Query Editor and set Transform > Data Type to the appropriate numeric type.

Does changing the cell format to General convert text to numbers?

No. Select the affected column, set Home > Number Format to General, then use Data > Text to Columns > Finish to convert existing text numbers.

What if my decimal values are converted incorrectly?

In Power Query Editor, right-click the affected column and choose Change Type > Using Locale. Select the numeric type and the locale that matches the source separators.

Why are formulas still showing old results after refresh?

Check Formulas > Calculation Options and select Automatic. Then choose Formulas > Calculate Now and verify that the formulas reference the intended cells.