Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Calculate average in a matrix table

Hi all,   I am calculate a average value in a matrix table. Every worker has record, 1 or 0(Column 0 or 1). If there is any record not 0, it count 1(Column Max of 0 or 1). What I want is average as...
  • tamerj1's avatar
    4 years ago

    Hi Anonymous 
    Please try

     

    Average =
    AVERAGEX (
        VALUES ( 'Test'[Name] ),
        CALCULATE ( MAX ( 'Test'[0 or 1] ) )
    )