DAX Math & Trigonometric - ABS function



Description

Returns the absolute value of a number.

Syntax

ABS (<number>) 

Parameters

Sr.No. Parameter & Description
1

number

The number for which you want the absolute value.

Return Value

A decimal number.

Remarks

The absolute value of a number is a decimal number, whole or decimal, without its sign.

You can use DAX ABS function as a nested function to a DAX function that requires a positive number as a parameter. The numbers that are returned from the expressions used as parameters can be returned as positive numbers with the nested ABS function.

Example

= ABS (-2.5) returns 2.5. 
dax_functions_mathematical_trigonometric.htm
Advertisements