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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Can't reorder rows in table/matrix visual

As shown below, the first picture shows how the table visual looks. Column 1 is not in order the way it should be. The next picture shows the order it column 1 should look. I

 

In the query and orginial excel it looks like the 2nd picture but when I add the table visualization and include column 1 the order changes. Please help I need to organize the rows.

 

Column 1 is not in orderColumn 1 is not in orderColumn 1 should look like thisColumn 1 should look like this

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

The visual is sorting the column1 alphabetically by default. If there is another column in the dataset that has ranks for the column1, it can be used as a 'Sort by column'. Then the visual will order it according to the 'Sort by Column' values. 

 

If you are manually entering data, then enter something like this in the dataset-

Column 1rank
Global1
NCSA2
EARC3
MENA4
APAC5

After loading the data, on the data view, select the column1 and select rank in 'Sort by Column' under Modeling tab

 

If the dataset is huge or it is loaded from a database, you can create another table with the column1 and rank, later merge queries to get the rank column to the dataset and then use it to sort column1.

 

-Lakshmi

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi,

 

The visual is sorting the column1 alphabetically by default. If there is another column in the dataset that has ranks for the column1, it can be used as a 'Sort by column'. Then the visual will order it according to the 'Sort by Column' values. 

 

If you are manually entering data, then enter something like this in the dataset-

Column 1rank
Global1
NCSA2
EARC3
MENA4
APAC5

After loading the data, on the data view, select the column1 and select rank in 'Sort by Column' under Modeling tab

 

If the dataset is huge or it is loaded from a database, you can create another table with the column1 and rank, later merge queries to get the rank column to the dataset and then use it to sort column1.

 

-Lakshmi

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.