keep_filters
Evaluates an expression in a context modified by filters.
Syntax
keep_filters(<expr>)
| Parameter | Type | Description |
|---|---|---|
| expr | any | The expression to be evaluated. |
Return values
Depends on input arguments.
Usage
Calculates the sum of total prices while keeping the current filter context.
keep_filters(sum(orders.total_price))