cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
karlagb20 Regular Visitor
Regular Visitor

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.

 

Table.PNGColumn 1 is not in orderQuery.PNGColumn 1 should look like this

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
lakshmis Frequent Visitor
Frequent Visitor

Re: Can't reorder rows in table/matrix visual

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

 

1 REPLY 1
Highlighted
lakshmis Frequent Visitor
Frequent Visitor

Re: Can't reorder rows in table/matrix visual

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
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

PBI Community Highlights

PBI Community Highlights

Check out what's new in the Power BI Community!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 378 members 3,889 guests
Please welcome our newest community members: