Notifications
Clear all
Power Query
2
Posts
2
Users
0
Reactions
494
Views
Topic starter
Hi,
I have some values in excel that are formatted as Currency. These values have 5+ decimal places (in Excel). When I load these values into Power Query it automatically limits the number of decimal places to 4 which is causing a slight delta when I sum them together. When I format the values as a Number prior to loading them into Power Query it works (doesn't strip out the decimals), but I need to keep them formatted as Currency.
Any ideas? Thanks!!
Posted : 23/07/2021 12:02 pm
Keep them has numbers until you close and load to Excel. Once back in Native Excel, format as Currency.
The following is from Microsoft:
Fixed decimal number | ![]() |
Also known as the Currency type, this data type has a fixed location for the decimal separator. The decimal separator always has four digits to its right and allows for 19 digits of significance. The largest value it can represent is 922,337,203,685,477.5807 (positive or negative). The Fixed Decimal Number type is useful in cases where rounding might introduce errors. When you work with many numbers that have small fractional values, they can sometimes accumulate and force a number to be slightly off. Because the values past the four digits to the right of the decimal separator are truncated, the Fixed Decimal Number type can help you avoid these kinds of errors. |
Posted : 23/07/2021 1:44 pm