Please tell me how to round numbers correctly in Excel PowerQuery?
- Type "0.925" into Excel.
- Play with the toolbar, and Decrease deimals, and the number goes to 0.93
- Try a formula: = Round(0.925,2) and you get 0.93
Now try it in PowerQuery
- Amount = 0.925
- Round([Amount],2) = 0.92
What secret parameter must I use to do the calculation correctly?
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjQ1NzU01bM0MlWKjQUA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"RAW Number" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"RAW Number", type number}}),
#"Added Custom1" = Table.AddColumn(#"Changed Type", "Round", each Number.Round([RAW Number],2)),
#"Added Custom2" = Table.AddColumn(#"Added Custom1", "FancyRound", each Number.Round([RAW Number], 2, RoundingMode.Up))
in
#"Added Custom2"
So this query above, in Excel doesn't work
But in Power BI it does.

