Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How to calculate Average

Hi,

 

Please help me in calculating average of a particular row (column 1, column2, column3....).

I need a average against each row comprising multiple column, 

 

Like in a table i have five column

ABC - 1 , 2, 3, 4, 5 = Need Average of (1:5)

CDE - 4, 5, 7, 4, 8 = Need Average of (4:8)

 

Suresh

  • Hi, Anonymous 

     

    You need to transpose your data in PQ first, then create two measures to calculate the desired results.

    Like this:

    avgabc = AVERAGE('Table'[ABC])
    avgcde = AVERAGE('Table'[CDE])

     

    Did I answer your question ? Please mark my reply as solution. Thank you very much.
    If not, please feel free to ask me.


    Best Regards,

    Community Support Team _ Janey

2 Replies