Forum Discussion

meena16_vibrant's avatar
meena16_vibrant
Frequent Visitor
3 years ago
Solved

Multiple Slicer selection

Slicer                 AAA                 BBB                 When I select Slicer AAA, calculation = total value * 10% When I select slicer BBB, calculation =total value * 0%   Suppose total...
  • Greg_Deckler's avatar
    3 years ago

    meena16_vibrant Try:

    Measure =
    
    SWITCH(TRUE(),
    
    "AAA" IN DISTINCT(Table[coln]),total value * 0.01,
    
    "BBB" IN DISTINCT(Table[coln]),total value * 0)