DAX - FILTERS function


Advertisements

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

Useful Video Courses


Video

Mastering DAX and Data Models in Power BI Desktop

53 Lectures 5.5 hours

Abhay Gadiya

Video

Mastering DAX Studio

Featured

24 Lectures 2 hours

Randy Minder

Video

DAX / Power BI - Customer and Sales Analysis Deep Dive

26 Lectures 4.5 hours

Randy Minder

Advertisements