Skip to content

IsFiltered

Description

IsFiltered checks whether a dimension is used in the current query dimensions. This function is typically used in composite metric logic.

Syntax

IsFiltered([dimension_name])

Parameters

Parameter Required Type Description
dimension_name Yes Dimension Dimension to check in the current query dimensions.

Notes

Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.

Example

If(IsFiltered([Region]), [SalesAmountSum], [SalesAmountMax])

The expression returns the calculated result according to the current query context.