Skip to content

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

NUMCARACT

On this page (10)

Number of characters.

FieldValue
CategoryText
TypeScalar (operates value by value)
Arity1 argument (fixed)
Compiles to SQL (calculated column)Yes
VersionFormula engine v3.

Aliases#

Canonical name: NUMCARACT. Accepted aliases (case-insensitive): len, length.

Syntax#

code
NUMCARACT(expr)

All arguments are expressions.

Returns#

Number (number of characters).

Null handling#

Blank becomes empty text ("").

Evaluation context#

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

Differences from DAX#

  • DAX equivalent: LEN
  • Compatibility: Compatible with DAX
  • Note: Number of characters.

Examples#

code
NUMCARACT(descricao)

Example with values#

Input: "ingestia".

code
NUMCARACT("ingestia")  →  8

Expected result: 8

Business example#

Standardize records and labels — CNPJ, SKU, channel name, report legends.

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