Edit

Share via


ALWAYSAPPLY

Applies to: Calculated column Calculated table Measure Visual calculation

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

Syntax

ALWAYSAPPLY(<table expression>)  

Parameters

Term Definition
table expression Any table expression.

Return value

A table of values.

Remarks

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

  • By default, a value filter does not affect measure if it doesn't change filter context. This behavior can be controlled by ALWAYSAPPLY function so that an empty table can still affect measure even if it doesn't change filter context.

Filter functions
GROUPCROSSAPPLY function
GROUPCROSSAPPLYTABLE function