DAX Math & Trigonometric - SIGN function
Advertisements
Description
Determines the sign of a number, or the result of a calculation, or a number in a column. The function returns 1 if the number is positive, 0 (zero) if the number is zero, or -1 if the number is negative.
Syntax
SIGN (<number>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
number Any real number, or a column that contains numbers, or an expression that evaluates to a number. |
Return Value
One of the following −
- 1
- 0
- -1
Example
= SIGN (55) returns 1. = SIGN (-55) returns -1. = SIGN (0) returns 0.
dax_functions_mathematical_trigonometric.htm
Advertisements