Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
GJE
Frequent Visitor

Help to properly arrange values in an matrix

Hello everyone,

I hope someone here can help me with this.

 

I have a table which I want to display inside a matrix to get a view based on:

  • Columns = Month
  • Rows = Years
  • Values = consumption

No problem at this point! But I get stuck when I try to include a column -somehow- to display the total average per row -the sum of the values divided by the number of months-.

This is as far as I got, since the matrix shows me the correct data, I don't want to see the average column in each month, I just need the total average per month:

GJE_2-1693485142962.png

GJE_1-1693485119426.png

 

Table data example:

GJE_0-1693484789998.png

 

Expected result in Power BI matrix:

GJE_0-1693486059271.png

 

 

Any ideas are greatly appreciated, thank you.

 

 

 

1 ACCEPTED SOLUTION
ToddChitt
Super User
Super User

Unfortunately, I don't think there is a way to get a TOTAL column in a matrix without also including that value in the Column Breakdowns.

IT ( and this is a BIG IF) your matrix is not expandable on Rows (meaning: the rows are always shown without Expand/Collapse buttons) you can create a second matrix to the right of the first, add only that one Value, and the same column(s) on the Rows, and have the first matrix cover the left hand side of the matrix on the right. 

Not pretty, but it would work.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
GJE
Frequent Visitor

Thanks Todd, I included a second matrix and that works well. 😁

ToddChitt
Super User
Super User

Unfortunately, I don't think there is a way to get a TOTAL column in a matrix without also including that value in the Column Breakdowns.

IT ( and this is a BIG IF) your matrix is not expandable on Rows (meaning: the rows are always shown without Expand/Collapse buttons) you can create a second matrix to the right of the first, add only that one Value, and the same column(s) on the Rows, and have the first matrix cover the left hand side of the matrix on the right. 

Not pretty, but it would work.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.