Edit

Share via


ALLSELECTEDAPPLY

Applies to: Calculated column Calculated table Measure Visual calculation

Modifies how filters are applied while evaluating a GROUPCROSSAPPLY or GROUPCROSSAPPLYTABLE function.

Syntax

ALLSELECTEDAPPLY(<table expression>)

Parameters

Term Definition
table expression Any table expression.

Return value

A table of values.

Remarks

  • You use ALLSELECTEDAPPLY within the context GROUPCROSSAPPLY and GROUPCROSSAPPLYTABLE functions, to override the standard behavior of those functions.

  • When a filter is specified as ALLSELECTEDAPPLY, it is initially hidden in the filter context. Upon an ALLSELECTED inside CALCULATE or CALCULATETABLE, this table expression is enabled in fliter context.