Forum Discussion
giorgiokatr
Helper V
9 years agosum different columns depending on a slicer selection
I have two tables Date | MTD | QTD | YTD second table is Selection MTD QTD YTD slicer hav the values of second table is there any other way than using if to have sum of MTD column of...
- 9 years ago
Cool,
Try this it will help u, if not let me know.
Note :
If u select multiple option it will move to Others part.
giorgiokatr
Helper V
9 years agoThanks Baskar! Can this var used in another measure? eg
SWITCH(Filter_Value,"MTD",SUM('MTD),"QTD",SUM(QTD),"YTD",SUM(YTD),"")Baskar
Resident Rockstar
9 years agoNo, Var only used inside the measure , we can't use outside .
Cool