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

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

Reply
mikro87
Helper II
Helper II

Sort Matrix by different column

Hi,

I would like to sort the column "Kategorie 1" in a defined way, like 1. Einnahmen 2. Wohnung ...

image.png
I created a new table where I list the order of the "Kategorie 1"
Can I now sort the Kategorie 1 by the column sort without putting sort in the matrix first? Or is there an even better way to do this?

 

 

image.pngimage.png

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @mikro87 

try to use Sort by column option (Modeling ribbon). before choose your column in right Fields pane.

to read more go here https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column 

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

6 REPLIES 6
az38
Community Champion
Community Champion

Hi @mikro87 

try to use Sort by column option (Modeling ribbon). before choose your column in right Fields pane.

to read more go here https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column 

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Thank, it worked.

Can I do this without the new table?

az38
Community Champion
Community Champion

@mikro87 

yes, you should be able to use existing column. just left click on your field in the right pane

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

but I only can sort A->Z or Z->A. Or how can I self pick the order?

az38
Community Champion
Community Champion

@mikro87 

what do you when you first choose column in the right pane then in modeling ribbon press Sort By Column button? It should be a menu which show you other column to sort where you ned to pick your desired sorted column. see https://imgur.com/KGo1gS0 

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

 

 

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

the problem is that I don't have a column which I can sort by in my oridinal tableimage.png

I know it from qlik sense that you can use an if function to sort columns.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.