Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Rounding Issue with ODBC & SQL Server vs SQL server connector

With Power query, I read a sql database from a field Numeric(23,7) define and I have around 3.7 millions lines.  All my 3.7 millions have only 2 decimal value ... If a use ms-sql server conn...
  • lbendlin's avatar
    4 years ago

    decimal numbers are stored as approximations. so instead of 10.20 you may see it stored as 10.19999999  .  Given enough numbers that difference can add up.

    Process your numbers so they round to the nearest hundredth  before summing them.