Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

calculating weighted average

Hello all ,   I want to have a dax formula to calculat the weighted average for the next scenario.   i have 10 participants , which 8 participants scored a 1 and 2 participants scored a 4.   So...
  • erik_tarnvik's avatar
    9 years ago

    If Scores is your table then 

    Measure = SUM(Scores[Score])/COUNTROWS(Scores)

    should do it. Your formula is equivalent to just summing up the scores column and divide by number of rows, right?