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
obera
Frequent Visitor

Sort by Data Source Order in Matrix Visual

Hi everyone, I understand how to change the sort in a Visual to sort by values/alphabetical, and to change which column to sort the data by, but I have a different situation. I am pulling from a table that has text information in a specific order in the column. This order is not alphabetical. When I create a Matrix from this table, it automatically sorts and shows the data alphabetically. How do I show the data in the same order that it is in the table?

 

Example:

Source Table

Column 1 ||  Column 2

--------------------------

B Text      ||   1.85

A Text      ||   2.01

C Text      ||   1.36

 

Matrix Visual (this is how it displays by default)

Rows = Column 1

Values = Column 2

 

Column 1 ||  Column 2

--------------------------

A Text      ||   2.01

B Text      ||   1.85

C Text      ||   1.36

 

At a minimum I need "B Text" to be on top, but preferrably I want Column 1 in my Matrix Visual to display in the same order as it is in the source table. They are unique values.

 

Thanks for your time.

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @obera ,

Add an index column to your table, then sort by that index column.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Nathaniel_C
Community Champion
Community Champion

Hi @obera ,

Add an index column to your table, then sort by that index column.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.