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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Lazuriii
Frequent Visitor

Column order in matrix while using field parameter

Hi!

 

I have created a field parameter table for my measures. The measures show sales, margins and costs. The idea is that the end-user could choose, which measures they view in the matrix. Now, I want the measure columns to always appear in the same order in the matrix. However, Power BI's logic is that each selected column appears to the right side of the last selected column. 

 

Here's a very simplified version of my parameters table:

 

MeasureOrder
Sales1
SGA2
EBITA3

 

What I want is that if the user first chooses SGA (2) and then Sales (1), the Sales (1) column would appear before the SGA (2) column to the matrix.

 

Thanks in advance!

5 REPLIES 5
Nigel
Advocate II
Advocate II

Hi @Lazuriii 

 

Please see my post Re: Field Parameters Order in a Matrix - Microsoft Fabric Community for a workaround.

 

Regards

 

Nigel

Idrissshatila
Super User
Super User

Hello @Lazuriii ,

 

Try sorting it in the matrix by the parameter field.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Hi @Idrissshatila ,

 

It seems that there is no option to sort the matrix by the parameter field. The only sorting I can find is to sort the values, but that is not what I need.

Idrissshatila
Super User
Super User

Hello @Lazuriii ,

 

You could specify the column orders in the field parameter dax, like the following screenshot

Idrissshatila_0-1685005889878.png

 

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Hi!


I have the column order specified similarly to your suggestion. This sorting order works with slicer, but not the matrix.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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