Forum Discussion
PhoenixBird66
Helper III
7 years agoDAX measure with multiple FILTERs
I want to create a measure called "Excluding Outliers" - it needs to return the value of [January % Increase], but if that value is greater than 100% or less than -100% it should return a blank. Also...
- 7 years agoHi PhoenixBird66
This is how corrected measure shoud look likeExcluding Outliers =VAR x = [January % Increase]RETURNCALCULATE([January % Increase],FILTER(Sales,x >= -1 && x <= 1),ISBLANK(Sales[StdSvcKey]) = FALSE)
Thanks
Mariusz
Mariusz
Community Champion
7 years agoHi PhoenixBird66
This is how corrected measure shoud look like
This is how corrected measure shoud look like
Excluding Outliers =
VAR x = [January % Increase]
RETURN
CALCULATE(
[January % Increase],
FILTER(
Sales,
x >= -1 && x <= 1
),
ISBLANK(Sales[StdSvcKey]) = FALSE
)
Thanks
Mariusz
Thanks
Mariusz
PhoenixBird66
Helper III
7 years agoYes this works - thanks so much for your help! I'm so happy! :)