Skip to content

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

FIMMES

On this page (10)

Last day of the month, N months ahead.

FieldValue
CategoryDate and time
TypeScalar (operates value by value)
Arity2 arguments (fixed)
Compiles to SQL (calculated column)Yes
VersionFormula engine v3.

Aliases#

Canonical name: FIMMES. Accepted aliases (case-insensitive): eomonth.

Syntax#

code
FIMMES(expr; arg2)

All arguments are expressions.

Returns#

Date.

Null handling#

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

Evaluation context#

Scalar — evaluated on the result of the arguments (in calculated columns, it runs row by row).

Differences from DAX#

  • DAX equivalent: EOMONTH
  • Compatibility: Compatible with DAX
  • Note: Last day of the month, N months ahead.

Examples#

code
FIMMES(pedido_em; 0)

Example with values#

Input: end of month for 2024-02-01 (leap year).

code
FIMMES(DATA(2024;2;1); 0)  →  2024-02-29

Expected result: 2024-02-29

Business example#

Find the closing date (last day of the month) for each accrual period.

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