Forum Discussion
bartvana
Jan 21, 2021Iron Contributor
MROUND in Power Query
Is there an easy alternative for MROUND() in Power Query? I know the Number.Round functions, but I find no direct alternative for MROUND()?
Wyn Hopkins
Jan 21, 2021MVP
- bartvanaJan 21, 2021Iron Contributor
Thanks for the link. Great solution, but a bit overly complicated for my use-case, I think (multiples of integers, instead of rounding behind the comma).
I've been experimenting a bit more, and came up with this (for rounding up to multiples of 50)
=Number.RoundUp([Decimal]/50)*50
- SergeiBaklanJan 21, 2021Diamond Contributor
- bartvanaJan 26, 2021Iron ContributorAlso possible, depending on the use case of course. (In my case I needed rounding up.)