MROUND is a DAX function that rounds a number to the nearest specified multiple.
Syntax
MROUND(
Number,
Multiple
)
| Argument | Properties | Description |
|---|---|---|
| Number | The value to round. | |
| Multiple | The multiple to which you want to round the number. |
MROUND is a DAX function that rounds a number to the nearest specified multiple.
MROUND(
Number,
Multiple
)
| Argument | Properties | Description |
|---|---|---|
| Number | The value to round. | |
| Multiple | The multiple to which you want to round the number. |
A decimal number.
MROUND rounds up, away from zero, if the remainder of dividing number by the specified multiple is greater than or equal to half the value of multiple.
The following expression rounds 1.3 to the nearest multiple of .2. The expected result is 1.4.
= MROUND(1.3,0.2)
The following expression rounds -10 to the nearest multiple of -3. The expected result is -9.
= MROUND(-10,-3)
The following expression returns an error, because the numbers have different signs.
= MROUND(5,-2)
Other functions related to MROUND are:
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy