Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

DAX (PreviousMonth and switch)

Hi, I have three data set. first one is data and second is date table, last one(Matrixtable) is for a matrix Data set: Date Department Staff Staff type BasicSalary Allowance1 Allowance2 TotalS...
  • v-lili6-msft's avatar
    v-lili6-msft
    6 years ago

    hi, Anonymous 

    I have test on my side, for your case, please use YearMonth instead of only Month in slicer or add a Year slicer, then it will work.

    For example:

    Best Regards,

    Lin