Returns the absolute value of a number.

## Sample usage

`ABS(Price Change)`

## Syntax

`ABS( X )`

### Parameters

- `X` - a field or expression containing at least one field that evaluates as a number.

## Examples

| Example formula | Input | Output |
|---|---|---|
| ` ABS(Price Change) ` | 45 | 45 |
| ` ABS(Price Change) ` | -45 | 45 |
| ` ABS(Users + Bounces) ` | Users : 10 Bounces : 20 | 30 |

## Related resources

- [Calculated fields](https://docs.cloud.google.com/data-studio/about-calculated-fields)
- [Data Studio function list](https://docs.cloud.google.com/data-studio/function-list)