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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Matrix visual Shorting

Hi folks,

I want to sort a matrix column based on each individual column. Whenever we use a column name in the column field of the Matrix visual, the option for sorting individual columns automatically disappears from the visual. However, this works perfectly when using individual measures.

Your Response in this regard will be highly appreciated.

Thanks in Advance
Anil

3 REPLIES 3
HarishKM
Memorable Member
Memorable Member

@Anonymous Hello Anil,

In my case , I wanted to sort country data based on the below requirement.

HarishKM_0-1693219083237.png

 

I have created one to many relationship with this disconnected table with my fact table. Then i have used

related function to bring country sort column in fact table.

Then I have selected country column => sort by column => selected Sort 

 

HarishKM_1-1693219194809.png

 

 Then 
Select three dot => Sort by => Country => ASC or DSC as per requirement. You can refer below image.

 

HarishKM_2-1693219382521.png

 

Thanks 
Harish M.

If this post helps, then please Accept it as the solution  and give Kudos.

amitchandak
Super User
Super User

@Anonymous , if you are using a field/s in the column matrix you can only sort of the grand total of Measure total not on the individual.

You can log an idea for that https://ideas.powerbi.com/ideas/

 

But if want to change the order of the Column field you can use the sort column

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi Amit,
Thanks for the response,
The ask is to short the column vertically not horizontally, Which i feel is not feasible as of now in PBI.
That video link shows the latest or oldest year or data based on the column value we have.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.