DELTA_REL
Available from Valsight Version 6.13 (July 2025)
Description | Returns a relative growth for each level value compared to its former level value based on the order in the dimension. |
Syntax | DELTA_REL('Node', [“Dimension”, [“FirstValueBehavior”]]) |
Parameter |
|
Limitations |
|
Remarks | In contrast to YOY_REL and related relative functions, the growth will be calculated by using the absolute former value as relative base: (currentValue - formerValue) / absolute(formerValue).
|
Example
Input: Profit =
Year | Month | Product | Measure |
---|---|---|---|
2025 | 2025-11 | A | 1 |
2025 | 2025-11 | B | 2 |
2026 | 2026-04 | A | 20 |
2026 | 2026-05 | B | -10 |
Output: DELTA_REL( ‘Profit’ ) = DELTA_REL( ‘Profit’ , "Time" , "SKIP_FIRST") =
Year | Month | Product | Measure |
---|---|---|---|
2026 | 2026-04 | A | 19 (= (20 - 1) / ABS(1) ) |
2026 | 2026-05 | B | -6 (= (-10 - 2) / ABS(2) ) |
Output: DELTA_REL( ‘Profit’ , "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 | -6 |