Skip to content

Automatic translation — the Portuguese version is the reference. View in Portuguese

PROXIMO_MES

On this page (10)

The measure over the ENTIRE NEXT MONTH (useful for targets and forecasts already entered).

FieldValue
CategoryDate and time
TypeAggregation (operates on a set of rows)
Arity2 arguments (fixed)
Compiles to SQL (calculated column)No
VersionFormula engine v3, with fiscal/4-4-5 calendar support.

Aliases#

Canonical name: PROXIMO_MES. Accepted aliases (case-insensitive): nextmonth.

Syntax#

code
PROXIMO_MES(expr; arg2)

All arguments are expressions.

Returns#

The measure's value in the next month, or blank.

Null handling#

Invalid or missing dates become a friendly error or blank, depending on the function.

Evaluation context#

Time intelligence — finds the group's reference date and re-evaluates the measure over the VISUAL's rows (uses allRows) that fall within the window. Switches to fiscal/4-4-5 when the model has that calendar.

Differences from DAX#

  • DAX equivalent: NEXTMONTH
  • Compatibility: DIFFERS from DAX — different semantics, watch out
  • Note: Entire next month over the visual's rows.

Examples#

code
PROXIMO_MES(SOMA(meta); dia)

Example with values#

Input: group February/25 → March/25 (200+150).

code
PROXIMO_MES(SOMA(receita); dia)  →  350

Expected result: 350

Business example#

Time analysis — order age, accrual month/year, accounting close.

Common errors#

Typos in a column name, an incompatible type, or an invalid argument become a friendly message (pt-BR) — the engine never silently returns a wrong number.


← Back to the formula index

Related links