DAX Math & Trigonometric - ODD function



Description

Returns the number rounded up to the nearest odd integer.

DAX ODD function is new in Excel 2016.

Syntax

ODD (<number>) 

Parameters

Sr.No. Parameter & Description
1

number

The number to round.

Return Value

An odd integer.

Remarks

  • If the number is non-numeric, ODD returns the #VALUE! error.

  • Regardless of the sign of the number, a value is rounded up when adjusted away from zero.

  • If the number is an odd integer, no rounding occurs.

Example

= ODD (2.3) returns 3. 
= ODD (-2.3) returns -3. 
dax_functions_mathematical_trigonometric.htm
Advertisements