ABS

The ABS function returns the absolute value of a number.

Syntax

ABS(
    number
)

Parameters
  • number: Number whose absolute value is to be obtained.
Returned value

The ABS function returns a number of the same type as the parameter it receives.

Examples

In this example, a calculated column is created with the absolute value of the sales margin using the following DAX expression:

Margin Abs = ABS(Sales[Margin])
ABS function
Category
Mathematical and trigonometric
Submitted by admin on Tue, 12/04/2018 - 12:58