Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Sum and Average by Year

Hello, 

 

I have matrix with data in power bi that looks like this.

All i need is to add sum for each year for #RR and Total Impact and for RI Index and MTBRR I need the average. See screenshot below:

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    To my knowledge, multiple sub-totals in Matrix visual is not available.

    If you also want this in power bi, let the power bi community to know this things and give your votes at power bi site's feedback - Ideas

     

    As a workaround,you could apply the RR column twice to the Values field and use Average and Sum type respectively, like this:

     

    Best Regards,
    Eyelyn Qin
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    To my knowledge, multiple sub-totals in Matrix visual is not available.

    If you also want this in power bi, let the power bi community to know this things and give your votes at power bi site's feedback - Ideas

     

    As a workaround,you could apply the RR column twice to the Values field and use Average and Sum type respectively, like this:

     

    Best Regards,
    Eyelyn Qin
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      this workaround worked great!

       

      Thank you!

  • Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.