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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
jazzzbo
New Member

Formatting data in a Matrix Viz

I have this Matrix:

jazzzbo_0-1620072327771.pngThis is my first time here. I'd sure appreciate some advice on how to format it so that the years are in the first column and the Months are in the second so that I can sort the years in descending order. Right now they are in ascending order and when I try to change them, the months are in descending order as well. 

 

I'd also like the year totals to be at the bottom of each year's data.

 

 

 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @jazzzbo 

Try follow steps to sort fields in matrix:

1) convert matrix to a table

2) click the 'Year' column to sort 'Year' in descending order, then shift +click the 'Month' column to sort 'Month' in ascending order

44.png

3)convert the table visual to matrix visual

The result will show as below:

45.png
Please check my attached pbix file for more details.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

 

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @jazzzbo 

Try follow steps to sort fields in matrix:

1) convert matrix to a table

2) click the 'Year' column to sort 'Year' in descending order, then shift +click the 'Month' column to sort 'Month' in ascending order

44.png

3)convert the table visual to matrix visual

The result will show as below:

45.png
Please check my attached pbix file for more details.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

 

Jihwan_Kim
Super User
Super User

Hi, @jazzzbo 

Please check the below picture, and please try to click the red areas.

You can easily find a way how to sort as per your demand, and you can also configure the Matrix structure to a Stepped layout structure.

 

Picture3.png

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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