Reference Updated March 24, 2026

PM

Category: Compare periods

Overview

DescriptionShifts the input node Node one month into the future while retaining all other dimensions. Use this when you need last month’s values alongside current data for month-over-month comparisons.
SyntaxPM('Node')
ParametersNode: Input node that is shifted, specified using the node name in single quotes (e.g. 'Profit')

Examples

Shifting values by one month

Each value appears one month later in the result.

Input node: Profit

MonthValue
2025-0135
2025-0242
2025-0347

Formula: PM('Profit')

Month→ PM Result
2025-0235
2025-0342
2025-0447

Shifting values by two months (nested PM)

Nesting PM calls shifts values further into the future. Here, each value moves two months forward. Try SHIFT as an alternative with a custom offset.

Input node: Profit

MonthValue
2025-0135
2025-0242
2025-0347

Formula: PM(PM('Profit'))

Month→ PM Result
2025-0335
2025-0442
2025-0547

FunctionWhen to use instead
PQWhen you need the previous quarter instead of the previous month.
SHIFTWhen you need a custom offset or want to shift along a specific time level.
MOM_ABSWhen you need the absolute difference to the previous month, not just the shifted values.
Was this page helpful?