Skip to main content
Skip table of contents

DELTA_ABS

AVAILABLE FROM 6.13

Description

Calculates the absolute difference between consecutive values within the selected dimension.

Syntax

DELTA_ABS('Node', [“Dimension”, [“FirstValueBehavior”]])

Parameter

  • Node: Input node, specified using the node name in single quotes (e.g. 'Profit')

  • Dimension: The dimension along which consecutive values are compared.

    • Optional parameter, default value: “Time” at the nodes finest level.

  • FirstValueBehavior: How the first value per unique level combination apart from “Dimension” is handled.

    • Optional parameter, default value: “SKIP_FIRST”.

    • Valid values: “SKIP_FIRST”, “FIRST_AS_ZERO” and “FIRST_VALUE”.

      • SKIP_FIRST: The first level combination per group will not be present in the result.

      • FIRST_AS_ZERO: The value of the first level combination will be set to zero.

      • FIRST_VALUE: The value of the first level combination stays as it is.

Limitations

  • The growth will always be calculated on the lowest available level of the specified dimension.

  • The function compares only entries that actually exist in the input. Missing values are skipped.

    • To calculate the growth with filled missing values use YOY_ABS

  • The function ensures that the links from the levels of the specified dimension match those in the dimension management.

    • Do not use this function if you want the node to have different level links as the dimensions.

Example

The function subtracts the value of the previous available entry from the current one, based on the order of the specified dimension “Time”. The missing entries in “Month” are skipped. There is no interpolation or implicit zero.

Input node =

Year

Month

Product

Measure

2025

2025-11

A

1

2025

2025-11

B

2

2026

2026-04

A

20

2026

2026-05

B

-10

DELTA_ABS(‘Input node’) = DELTA_ABS(‘Input node’, "Time" , "SKIP_FIRST") =

Year

Month

Product

Measure

2026

2026-04

A

19 (= 20 - 1)

2026

2026-05

B

-12 (= -10 - 2)

DELTA_ABS(‘Input node’, "Time" , "FIRST_AS_ZERO") =

Year

Month

Product

Measure

2025

2025-11

A

0

2025

2025-11

B

0

2026

2026-04

A

19

2026

2026-05

B

-12

DELTA_ABS(‘Input node’, "Time" , "FIRST_VALUE") =

Year

Month

Product

Measure

2025

2025-11

A

1

2025

2025-11

B

2

2026

2026-04

A

19

2026

2026-05

B

-12

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.