Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Calculations with DAX Filters - Voluntary/Involuntary Staff Turnover

Hi all, I am stuck into calculating Voluntary/Involuntary Staff Turnover for my organisation. I have managed to calculate overall turnover, however, am having trouble when I need to distinguish betw...
  • v-janeyg-msft's avatar
    5 years ago

    Hi, Anonymous 

     

    According to your description, I think the problem is that the column name and value don't match.

    You need to modify the code: 'Emp Master File'[Voluntary/Involuntary] = "Involuntary") or 'Emp Master File'[Term Code] = "V")

    It is recommended that you use countx() function to calculate, the usage of calculate (sumx(if)) is not common.

    If it doesn’t solve your problem, please feel free to ask me.

     

    Best Regards

    Janey Guo

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.