YOY_REL

Description

Returns the relative growth for each year compared to the previous year (year-over-year).

Syntax YOY_REL(Node <, MissingValueBehaviour>)
Parameter
  • Node: Input node, specified using the node name in single quotes (e.g. 'Profit')
  • MissingValueBehaviour:
    • how the function should treat missing values
    • possible value are: IGNORE_MISSING (default) and MISSING_AS_ZERO
    • available since 3.4.0
Example

Input Profit =

Year

Value

2019 200
2020 300
2021 450
2022 500
2024 100


Output YOY_REL('Profit') = YOY_REL('Profit', "IGNORE_MISSING")

Year

Value

2020 (300 - 200) / 200 = 0.5
2021 150 / 300 = 0.5
2022 50 / 450 = 0.11



Output YOY_REL('Profit', "MISSING_AS_ZERO")

Year Value
2020 (300 - 200) / 200 = 0.5
2021 150 / 300 = 0.5
2022 50 / 450 = 0.11
2023 (0 - 500) / 500 = -1
2024 (100 - 0) / 0 = division by zero results in entry not being present in result
2025 (0 - 100) / 100 = -1
Beschreibung

Ermittelt das relative Wachstum jedes Jahres verglichen zum Vorjahr (year-over-year).

Syntax YOY_REL(Node)
Parameter
  • Node: Input Knoten, wird mit Knotennamen umgeben von Hochkommata angesprochen (z.B. 'Profit')
Beispiel

Input Profit =

Jahr

Wert

2019

200

2020

300

2021 450
2022 500


Output YOY_REL('Profit') =

Jahr

Wert

2020

(300 - 200) / 200 = 0.5

2021

150 / 300 = 0.5

2022 50 / 450 = 0.11

Was this helpful?

Yes | Somewhat | No