Hi, could we please add a transformation called Month-over-Month Percentage Change / MoM % Change?
Problem:
The dataset contains one row per month and category. Each row has the current value, but the previous month’s value is not directly available in the same row.
Example:
| Month | Category | Value |
|---|---|---|
| 1 | A | 100 |
| 2 | A | 120 |
| 3 | A | 90 |
| 1 | B | 50 |
| 2 | B | 75 |
To calculate the percentage change, the transformation first needs to find the value from the same category in the previous month.
Expected result:
| Month | Category | Value | MoM % Change |
|---|---|---|---|
| 1 | A | 100 | NULL |
| 2 | A | 120 | 20% |
| 3 | A | 90 | -25% |
| 1 | B | 50 | NULL |
| 2 | B | 75 | 50% |
Formula:
(current_month_value - previous_month_value) / previous_month_value * 100
For the first month, or if no matching previous-month value exists, the result should be NULL.
In abstract terms:
The transformation should calculate the relative percentage change between a current row and the matching previous-period row, grouped by the selected dimension/category.







