Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Adding and subtracting Average and standard deviation

Hello,   I am working on a dashboard that calculates the group average life of an asset and the group standard deviation of that life. I created two measures for this that had to use the MAX functi...
  • Icey's avatar
    Icey
    6 years ago

    Hi Anonymous ,

     

    I have no access to your dummy .pbix file. So I create one based on the dummy sample data you provided. And the [Group Lbound] measure reutrns value.

    I find that the data type of [Group Avg Life] is "Text". Maybe this is the cause. Try to create your [Group Lbound] measure like so:

    Group Lbound = CONVERT ( [Group Avg Life], DOUBLE ) - [Group Stdev]
    

     

     

    Best Regards,

    Icey

     

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