- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
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