Skip to content

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

ESTA_FILTRADO

On this page (10)

1 when the column is narrowed in the group (it has fewer values than in the whole visual).

FieldValue
CategoryContext and filter
TypeAggregation (operates on a set of rows)
Arity1 argument (fixed)
Compiles to SQL (calculated column)No
VersionFormula engine v3.

Aliases#

Canonical name: ESTA_FILTRADO. Accepted aliases (case-insensitive): isfiltered.

Syntax#

code
ESTA_FILTRADO(coluna)

The 1st argument is the name of a column (bare identifier); the others are expressions.

Returns#

Logical (1 = column narrowed, 0 = not).

Null handling#

When there is no row in the changed context, it returns blank (never zero) — a blank is more honest than a made-up zero.

Evaluation context#

Aggregation — goes through the rows of the visual's current group.

Differences from DAX#

  • DAX equivalent: ISFILTERED
  • Compatibility: DIFFERS from DAX — different semantics, watch out
  • Note: Detects narrowing by comparing the group's distinct value count with the visual's — it doesn't read the model's actual filter.

Examples#

code
SE(ESTA_FILTRADO(uf); 1; 0)

Example with values#

Input: uf narrowed in the group (SP).

code
ESTA_FILTRADO(uf)  →  1

Expected result: 1

Business example#

Comparative measure — share of total, ranking, change versus another 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