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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.