Forum Discussion

szablock's avatar
szablock
Helper I
9 years ago
Solved

DAX calculation

I sturugle with Dax problem I have data model which looks like that The third measure is result of calculation Measure 2/ Measure 1 What I'd like to do is sum of all result for one month whic...
  • v-sihou-msft's avatar
    v-sihou-msft
    9 years ago

    szablock

     

    In your formula, the ALLEXCEPT() will have your calculation group on month so that it will return incorrect result. For your requirement, you just need to multiple those two column and use SUMX() without any filter.

     

    Measure 6 = SUMX(Table3,Table3[Hired]*Table3[Fired])

     

     

    Regards,