Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Help in calculating averages

Hey guys,   Just needed some help with performing calculation on averages. I need to calculate an average for the total and if possible monthly as well. Just wondering how can i actually achieve th...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    It looks like that [YearMonth] are separate columns in your table.

    You will need to unpivot the table to below format:

    Then you could create a measure like below:

    measure = calculate(average([value]),filter(allexcept(table,[assigened to]),[attribute]<>"total"))

     

    Best Regards,

    Jay