Forum Discussion
cosminc
7 years agoPost Partisan
Filter Context
Hi all
the filters applied on page level are considered as Filter Context and can be overwritten on a calculate dax expression?
Thanks,
Cosmin
So you will need to modify the measure to use ALLEXCEPT and list the columns you would still like to be able to use in the slicers. The measure below will respect selections on the Client, Slicer1, Slicer2 and Slicer3 columns
Funnel Rate = CALCULATE( COUNTROWS(Source_full), ALLEXCEPT( Source_full, Source_full[Client], Source_full[Slicer1], Source_full[Slicer2], Source_full[Slicer3] ), Source_full[Label] = "A")
12 Replies
- jdbuchanan71Super User
Hello cosminc ,
That is correct. In the example below the ALL ( Dates ) portion of the measure clears the filter on Year Month that is set on the page.
- cosmincPost Partisan
Hi,
so i can't create a Calculate with filter 1 feb, right?
thanks,
Cosmin
- jdbuchanan71Super User
No sure I understand. You can create a measure that calculates the amount for Feb, ignoring the filter on the page.
Count Status Feb = CALCULATE( [Count Status], ALL ( Dates ), Dates[Year Month] = "Feb-2019" )