Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions query-languages/dax/removefilters-function-dax.md
Original file line number Diff line number Diff line change
Expand Up @@ -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":::.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a fan of links to sqlbi. We should document this ourselves.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. That article refers specifically to ALL. Should I add a synopsis to the ALL page and refer to it here, or explain the behavior in both places?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeroenterheerdt Should the adjustments to documentation ("we should document this ourselves") be done now or in a later PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't accept links to SQLBI in our documentation. So it has to be documented in this PR.


- [!INCLUDE [function-not-supported-in-directquery-mode](includes/function-not-supported-in-directquery-mode.md)]

## Example 1
Expand Down