ISO.CEILING function



Description

Rounds a number up, to the nearest integer or to the nearest multiple of significance.

Syntax

ISO.CEILING (<number>, [<significance>])

Parameters

Sr.No. Parameter & Description
1

number

The number you want to round, or a reference to a column that contains numbers.

2

significance

Optional.

The multiple of significance to which you want to round.

If omitted, the number is rounded up to the nearest integer.

Return Value

A number, of the same type as the number argument, rounded as specified.

Remarks

DAX has two CEILING functions −

  • CEILING − Same as the Excel CEILING function.

  • ISO.CEILING − Follows the ISO-defined behavior for determining the ceiling value.

Both DAX CEILING and ISO.CEILING functions return the same value for positive numbers.

However, they return different values for negative numbers.

  • When using a positive multiple of significance, both CEILING and ISO.CEILING round negative numbers upward (toward positive infinity).

  • When using a negative multiple of significance, CEILING rounds negative numbers downward (toward negative infinity), while ISO.CEILING rounds negative numbers upward (toward positive infinity).

Example

= ISO.CEILING(2.5) returns 3. 
= ISO.CEILING(2.5,4) returns 4. 
= ISO.CEILING(-2.5,4) returns 0. 
dax_functions_mathematical_trigonometric.htm
Advertisements