Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Creating Row Measures in a Matrix Table

Hello,

 

I am new to PowerBi and need some help with adding row measures to a Matrix Table so it looks something like this:

 
 JunJulAug
A251025
B751025
C1005025
Total2007075
A % Total13%14%33%
B % Total38%14%33%
C % Total50%71%33%

 

I was able to get the table to show the bold items but cannot fin a way to add the measures into the table so that filters will apply as well. My data set looks something like this:

 

ProductMonthCategoryQty
AJunUnits25
BJunUnits75
CJunUnits100
AJulUnits10
BJulUnits10
CJulUnits50
AJulUnits25
BJulUnits25
CJulUnits25

 

Any assistance you can provide is appreciated.

5 Replies

  • Anonymous 

    I am not sure if it's possible but the closest I can get is using the "Show on Rows" option under the Values section of the Matrix. 



    ________________________

    Did I answer your question? Mark this post as a solution, this will help others!.

    Click on the Thumbs-Up icon on the right if you like this reply 🙂

    YouTube, LinkedIn

     

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Anonymous - What you want is absolutely possible. What you need is a disconnected table for your row headers. Then create a measure that returns the correct calculation based upon your row. So your disconnected table would be:

     

    Column

    A

    B

    C

    Total

    A % Total

    B % Total

    C % Total

     

    See my Disconnected Table Trick as this article demonstrates: https://community.powerbi.com/t5/Community-Blog/Solving-Attendance-with-the-Disconnected-Table-Trick/ba-p/279563

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks Greg. I will try that and see if I can get it to work.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you for the suggestion and the link to your Disconnected table Trick. It worked!!!!