QOQ_ABS
Category: Compare periods
Overview
Description | Returns the absolute growth for each quarter compared to the previous quarter (quarter-over-quarter). Use this when you need the absolute difference between consecutive quarters. |
Syntax |
|
Parameters |
|
Examples
Default: ignoring missing values
This example shows QOQ_ABS with the default behavior. The missing quarter 2026-Q1 is skipped and 2026-Q2 is not calculated.
Input node: Profit
Quarter | Value |
|---|---|
2025-Q1 | 200 |
2025-Q2 | 300 |
2025-Q3 | 450 |
2025-Q4 | 500 |
2026-Q2 | 100 |
Formula: QOQ_ABS('Profit') = QOQ_ABS('Profit', "IGNORE_MISSING")
Quarter | → QOQ_ABS Result |
|---|---|
2025-Q2 | 100 |
2025-Q3 | 150 |
2025-Q4 | 50 |
Treating missing values as zero
With MISSING_AS_ZERO, gaps are filled with 0, producing results for every quarter including those without input data.
Formula: QOQ_ABS('Profit', "MISSING_AS_ZERO")
Quarter | → QOQ_ABS Result |
|---|---|
2025-Q1 | 200 |
2025-Q2 | 100 |
2025-Q3 | 150 |
2025-Q4 | 50 |
2026-Q1 | -500 |
2026-Q2 | 100 |
2026-Q3 | -100 |