Compartir a través de


FilterExpression Element (RDL)

Contains an expression that is evaluated for each row of data or group and compared to a filter value.

Sintaxis

<Filter>
    ...
        <FilterExpression>...</FilterExpression>
      ...
</Filter>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent element

Filter

Child element

None

Notas

The FilterExpression element contains an expression that evaluates to a variant. The expression is evaluated for each instance within a group or for each row in a dataset or data region. It is compared to the values in the sibling FilterValues element using the operator from the sibling Operator element. Failed comparisons result in the instance or row being filtered out of the grouping, dataset, or data region.

The FilterExpression element cannot contain references to report items. When used in a dataset or data region, FilterExpression cannot contain aggregate functions, and when used in a grouping, it cannot contain the RunningValue or RowNumber functions.

Vea también

Referencia

Report Definition XML Elements
Operator Element (RDL)
FilterValues Element (RDL)

Ayuda e información

Obtener ayuda sobre SQL Server 2005