Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Count selected values in a slicer

Hi all ,   I'm using  TestSlicerCount = COUNTROWS(VALUES(FinalTable[Month])) , to count the number of selected values in a slicer with 12 values, works fine but when there are no selections it ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I managed to make it work , thank you amitchandak .

     

    I used this , 

    TestSlicerCount = IF(ISFILTERED(FinalTable[Month]), COUNTROWS(VALUES(FinalTable[Month])),0)