Forum Discussion

ahuhn's avatar
ahuhn
Advocate I
7 years ago
Solved

use parameters in dax

I made a DAX measure:   Measure = CALCULATE(COUNT(Sheet1[Status]),FILTER(Sheet1,[MonthUpdated]="201810" && [Status]="Alpha"))   I also created a parameter YYYYMM to represent [MonthUpdated], to p...
  • v-cherch-msft's avatar
    v-cherch-msft
    7 years ago

    Hi ahuhn

     

    You can get the other count which is not selected by slicer with below measure. 

     

    Measure  =
    CALCULATE (
    MAX ( Sheet1[MonthUpdated] ),
    FILTER (
    Sheet1,
    Sheet1[MonthUpdated] <> SELECTEDVALUE ( Slicer[YYYYMM] )
    && Sheet1[Status] = "Alpha"
    )
    )

    Regards,

     

    Cherie