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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors