Forum Discussion

RuthMerchán's avatar
RuthMerchán
Helper I
3 years ago
Solved

Add AVERAGE TOTAL ROW in a matrix

Hi everyone!   I would like to know if possible to add an average total (included sum total) to the right of the following matrix?     As you can see, we have total sum 73 and 80 for categ...
  • Ritaf1983's avatar
    3 years ago

    Hi RuthMerchán 

    You can manipulate your totals with functions as is filtered/hasonevalue/isinscope etc.
    Example :

    Test = if (ISFILTERED('Table'[Sub Category]),sum('Table'[Value]),AVERAGE('Table'[Value]))

    Link to sample file 

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