Fix Power Query Removes Currency Decimals After Loading Data
Question details
The user needs to prevent Power Query from stripping exact decimal places from currency values when transforming and loading datasets.

- Product
- Microsoft Excel (Power Query)
- Device & OS
- not provided
- Scenario
- Combining multiple files and loading data using the Power Query editor.
- Observed behavior
- Currency values lose their decimal places upon loading, despite the affected columns being formatted as Decimal or Currency.
Verify that the raw source files actually contain decimal values (e.g., open the CSV in Notepad) rather than relying on cell formatting that merely displays whole numbers with trailing zeros.
Review and Update Data Type Conversion Steps
Adjust the 'Changed Type' step in Power Query to ensure currency columns are explicitly set to Decimal or Currency after all other transformations are completed.
Power Query frequently applies an automatic 'Changed Type' step based on the first 1,000 rows of data. If the initial rows lack decimals, the query may incorrectly cast the entire column as a whole number, stripping decimals from subsequent rows.
In Excel, navigate to the 'Data' tab and click 'Get Data', then select 'Launch Power Query Editor'.
Look at the 'Query Settings' pane on the right side of the editor and find the 'Applied Steps' list.
Click the 'X' next to any automatic 'Changed Type' steps that occur before your data combining is finished, or modify them by clicking the gear icon.
Select your currency column, go to the 'Transform' tab, click 'Data Type', and specifically choose 'Currency' or 'Decimal Number'.
Click the 'Home' tab and select 'Close & Load' to apply the query with the exact decimal values preserved.

Apply Data Type Using Locale Settings
Use the 'Using Locale' option to prevent decimal separators from being misread or dropped due to regional format conflicts in combined files.
Process and Format Data Seamlessly with WPS Office
If you struggle with unexpected data type conversions and complex Power Query settings in Excel, consider switching to WPS Office. It provides a lightweight, intuitive spreadsheet environment that accurately handles large datasets, ensuring your numeric formatting and decimals remain exactly as intended.
- 1. Install WPS Office: Download and install WPS Office for free from the official website.
- 2. Import Your Data: Open your CSV or Excel dataset directly in WPS Spreadsheet without running it through complex background queries.
- 3. Format Cells Securely: Select your currency columns, right-click to choose 'Format Cells', and easily lock in your required decimal places.

Frequently Asked Questions
Why does Power Query automatically change my data types?
By default, Power Query profiles the first 1,000 rows of your dataset to guess the appropriate data type. If the sampled currency values are predominantly whole numbers, it may apply an integer data type, causing decimals in the remaining rows to be dropped upon loading.
How can I stop Power Query from automatically detecting data types?
You can disable automatic type detection in Excel by going to File > Options and Settings > Query Options. Under the 'Data Load' section, select 'Never detect column types and headers for unstructured sources'.
Can regional settings cause decimals to disappear in Power Query?
Yes. If your source data uses a comma as a decimal separator (common in Europe) but your system expects a period (common in the US), Power Query may interpret the number incorrectly, either dropping decimals entirely or multiplying the value.
Does setting the column to 'Currency' guarantee two decimal places?
Setting the column to 'Currency' in Power Query ensures it is treated as a monetary value, which natively supports up to four decimal places. However, the final display format with two decimals must still be configured in the destination Excel worksheet.




