DAX - FILTERS function



Description

Returns the values that are directly applied as filters to columnName.

Syntax

FILTERS (<columnName>) 

Parameters

Sr.No. Parameter & Description
1

columnName

The name of a column in a table.

It cannot be an expression.

Return Value

The values that are directly applied as filters to columnName.

Example

You can find the number of direct filters that a column using the following function

= COUNTROWS (FILTERS (Sales[Region])) 
dax_functions_filter.htm
Advertisements