From 737cc9663a71f8a636340d3a49526eb9aaa90e0d Mon Sep 17 00:00:00 2001 From: cwebe135 <60164311+cwebe135@users.noreply.github.com> Date: Wed, 10 Sep 2025 16:27:54 -0400 Subject: [PATCH] Add remarks for REMOVEFILTERS Explaining behavior for column arguments --- query-languages/dax/removefilters-function-dax.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/query-languages/dax/removefilters-function-dax.md b/query-languages/dax/removefilters-function-dax.md index 35f086749..78434d256 100644 --- a/query-languages/dax/removefilters-function-dax.md +++ b/query-languages/dax/removefilters-function-dax.md @@ -29,6 +29,10 @@ N/A. See remarks. - REMOVEFILTERS can only be used to clear filters but not to return a table. +- If multiple columns are specified, they must be from the same column. + +- If a single solumn is specified, and the target column is sorted by another column, both columns must be included as arguments. This is because DAX includes both columns in the underlying query, so the inclusion of the sort by column adds the filters back in, as described in [this article](https://www.sqlbi.com/blog/marco/2018/05/04/removing-column-filter-in-power-bi-when-sort-by-column-is-active/) on :::no-loc text="sql.bi.com":::. + - [!INCLUDE [function-not-supported-in-directquery-mode](includes/function-not-supported-in-directquery-mode.md)] ## Example 1