- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

how to stop page filters from affecting values in other filters for a measure
I have a page where I want to filter a value on 3 fields but I also want to show that value without one of the filters (the retention date filter)
All these filters may be modified by the user
I am counting the number of merchants
with all these filters merchant # = 50
with the retention date filter removed the number is 11,222
I've tried to create a measure for the value without the retention date filter but it returns the value of 10,411. I'm using values() to get the valid values in the first 2 filters so I'm thinking that the retention date filter is affecting those values before I can exclude it in the measure.
this version of the measure returns the 10,411 count
however if I explicitly use the currently selected filter values it does work (11,222)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

what finally worked was moving the fields in the page filters to dim tables further out the snowflake.
closedDate already existed
tier3 went to dim tier3
retention date went to dim retention date.
that way the relationship direction to the main table kept the other filters from changing the values available to the filters on the dim tables. Tier3 was no longer being prefiltered by retention date.
now when I pulled the values in the function variables, they got all the values available to the dim table, and when applied after the all() statement, filtered properly.
Removefilter probably would have worked also but only after I moved the filters to the dim tables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

what finally worked was moving the fields in the page filters to dim tables further out the snowflake.
closedDate already existed
tier3 went to dim tier3
retention date went to dim retention date.
that way the relationship direction to the main table kept the other filters from changing the values available to the filters on the dim tables. Tier3 was no longer being prefiltered by retention date.
now when I pulled the values in the function variables, they got all the values available to the dim table, and when applied after the all() statement, filtered properly.
Removefilter probably would have worked also but only after I moved the filters to the dim tables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Create a measure that includes REMOVEFILTERS() on the field you want to exclude from the filtering.
Please provide sample data that covers your issue or question completely.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
07-16-2024 11:24 AM | |||
07-30-2024 12:36 PM | |||
07-07-2024 09:13 PM | |||
07-03-2024 12:12 AM | |||
07-10-2024 07:45 PM |
User | Count |
---|---|
101 | |
84 | |
81 | |
57 | |
46 |