SIGN DAX Function (Math and Trig)
Returns the sign of a number: 1 if the number is positive, zero if the number is zero, or -1 if the number is negative.
Syntax
Parameter | Attributes | Description |
---|---|---|
Number |
Any real number. |
Return values
The possible results are:
- 1 if the number is positive
- 0 if the number is zero
- -1 if the number is negative
Last update: Dec 5, 2019 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
MSDN documentation: https://docs.microsoft.com/en-us/dax/sign-function-dax