Forum Discussion
Herson
4 years agoRegular Visitor
Ticky question regarding Filter/DAX/Slicer
Hi members, I have a table where I need to use slice the Amount by industry/department/group. However, the tricky part is that when slicing Industry the amount has to be filtered by CATEGORY [CO...
- 4 years ago
Hi,
You can create SWITCH measure which changes calculation logic based on slicer selection. Here is an example of the logic:Measure =SWITCH(TRUE(),ISFILTERED(firstslicer),Measure1,ISFILTERED(secondslicer),Measure2)
I hope this helps and if it does consider accepting this as a solution!
ValtteriN
Community Champion
4 years agoHi,
You can create SWITCH measure which changes calculation logic based on slicer selection. Here is an example of the logic:
Measure =
SWITCH(TRUE(),
ISFILTERED(firstslicer),Measure1,
ISFILTERED(secondslicer),Measure2)
I hope this helps and if it does consider accepting this as a solution!
I hope this helps and if it does consider accepting this as a solution!
Herson
4 years agoRegular Visitor
Thank you ValtteriN for the suggestion!