FILTERCLUSTER DAX Function (Filter)

Returns a correlated join table over a set of groups.

Syntax

FILTERCLUSTER( <GroupBy_ColumnName> [, <GroupBy_ColumnName> [, … ] ], <FilterTable> [, <FilterTable> [, … ] ], <Separator>, <TableScan> [, <TableScan> [, … ] ] )
Parameter Attributes Description
GroupBy_ColumnName Repeatable

A fully qualified column reference (Table[Column]) to a base table for which the distinct values are included in the returned table. Each GroupBy_ColumnName column is cross-joined (different tables) or auto-existed (same table) with the subsequent specified columns.

FilterTable Repeatable

A table expression participating in the join.

Separator

A string literal which serves no purpose other than separating FilterTable parameter with TableScan parameter.

TableScan Repeatable

A table scan that joins with FilterTable parameters, applying autoexist semantics, and returns columns specified in GroupBy_ColumnName.

Return values

Table An entire table or a table with one or more columns.

A table which includes combinations of values from the supplied columns based on the grouping specified. The column only includes column specified by GroupBy_ColumnName parameter.

Remarks

This function is mainly used internally by Power BI to query remote models in composite models.

FILTERCLUSTER function can only be used inside GROUPCROSSAPPLY and GROUPCROSSAPPLYTABLE functions.

FILTERCLUSTER is semantically equivalent to a natural join across all FilterTable and TableScan parameters, and then group by columns specified by GroupBy_ColumnName parameters. Group by columns must come from TableScan parameters.

TableScan parameters are evaluated in the context of FilterTable.

Related functions

Other related functions are:

Last update: Dec 28, 2025   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

Microsoft documentation: https://learn.microsoft.com/en-us/dax/filtercluster-function-dax

2018-2025 © SQLBI. All rights are reserved. Information coming from Microsoft documentation is property of Microsoft Corp. » Contact us   » Privacy Policy & Cookies

Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Passed by Expression

This parameter is passed by expression and can be evaluated multiple times in different evaluation contexts.

Iterator

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Volatile

A volatile function may return a different result every time you call it, even if you provide the same arguments. Click to read more.

Deprecated

This parameter is deprecated and its use is not recommended.

DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.

Contribute

Want to improve the content of FILTERCLUSTER? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.