Forum Discussion
ALLEXCEPT Not Working With Filters On Visual
I am having issues with getting the ALLEXCEPT function to ignore filters on a visual...
My model is as below:
Essentially what I am trying to achieve is to discover the percentage of declined proposals between a certain date and certain sales area(s) like this:
As you can see "Ignore Status" has a value of 17 (which I expect), however, when you try to replicate the same outcome on a visual the answer returned is 12:
Remove the status filter on the visual and you get the right answer:
I would have thought the measure would ignore the status filter against the visual but keep the proposal date filter.
Any ideas/thoughts are appreciated.
6 Replies
- PijushRoyCommunity Champion
Hi cmackie
Can you please try to remove one or more filters by using the REMOVEFILTER function in place of ALL EXCEPT
https://learn.microsoft.com/en-us/dax/removefilters-function-dax - Selva-SalimiSolution Sage
Hi cmackie ,
I think you should also add "status" in allexcept expression.
If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
- cmackieRegular Visitor
Hi Selva-Salimi
I do not think this is the case as you'll see from the screenshot that adding in "status" to the allexcept expression results in 201 (see Ignore proposal date):
As you can see, the "Ignore Proposal Date" essentially has "Status" and "Proposal Date" in the allexcept albeit a bit disjointed and messy.