Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Calculates the element-wise sign of the numeric series input.
series_sign(
series)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
series | dynamic |
✔️ | An array of numeric values over which the sign function is applied. |
A dynamic array of calculated sign function values. -1 for negative, 0 for 0, and 1 for positive. Any non-numeric element yields a null
element value.
print arr = dynamic([-6, 0, 8])
| extend arr_sign = series_sign(arr)
Output
arr | arr_sign |
---|---|
[-6,0,8] | [-1,0,1] |