Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create a Measure: Cost Per Employee

Hi,   I'm trying to create a new measure that will calculate the healthcare "Cost Per Employee".   I'm trying to create this as a measure that I can include in several tables and graphs.  This ne...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I beleive you have your DIVIDE function flipped as I believe you want to divide the cost by the count of employees. Also, consider using the "alternative result" allowed in the DIVIDE syntax: https://docs.microsoft.com/en-us/dax/divide-function-dax

     

    If you can post a sample of your data (using proxy data as we of course would not wish for you to disclose personal employee data) we would potentially be able to help you more.

     

    If this helps please kudo.

    If this solves your problem please accept it as a solution.