Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Calculation error with power operator

I am receiving the following error message when trying to perform a calculation in a measure which uses a power operator:   Error Message: MdxScript(Model) (65, 142) Calculation error in measure '...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Gary I've managed to resolve this. I added in a 'divide by total weight' to Measure 1:

     

         Measure 1 = ((Measure A * Weight A) + (Measure B * Weight B)+....+(Measure F * Weight F)) / (Weight A + Weight B+.....+Weight F)

     

    No idea why it was causing problems not having that in.