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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

unexpected matrix sort

I'm getting this error in data view when attempting to sort 'Metric desc' by 'Order' with the goal of displaying the 'Metric Desc' data in the requisite order without displaying the 'Order' column itself. This error would be expected if the values in 'Metric Desc' were not unique which is not the case. The source is Excel. I have tried the following remedies with no success:

  • Changing the sort value to text ("01", "02", "03"..."12")
  • Removing the "•" character from the 'Metric Desc' values
  • Deleting the query and starting over
  • Recreating the data in a new Excel tab

Sort by another column error.png

 

The data set:

OrderMetric DescMeasure
1Transition metrics to date (Domestic)117/124
2• Current number of phones ported19
3• Current number of phones disconnected98
4Domestic users that still need to transition 7
5• TJC7
6• JCR0
7• CTH0
8Transition metrics to date (International)6/82​
9• Current number of phones ported1
10• Current number of phones disconnected5
11Decisions pending for international JCIA users76
12International user stipend requests6

 

The session info:

Release:
February 2018

Product Version:
2.55.5010.641 (PBIDesktop) (x64)

OS Version:
Microsoft Windows NT 10.0.14393.0 (x64 en-US)

CLR Version:
4.6.2 or later [Release Number = 394802]

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

In your data, the same Metric Desc can have two Order values. If you set the column Metric Desc to be sorted by the Order column, for example the value " • Current number of phones ported" has two orders 2 and 9, it can't be determined whether the value "• Current number of phones ported" should be sorted based on 2 or 9. So it's expected that you get that error message. 

 

You can modify your data, then you can set the column Metric Desc to be sorted by the Order column. See: 

 

q3.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

In your data, the same Metric Desc can have two Order values. If you set the column Metric Desc to be sorted by the Order column, for example the value " • Current number of phones ported" has two orders 2 and 9, it can't be determined whether the value "• Current number of phones ported" should be sorted based on 2 or 9. So it's expected that you get that error message. 

 

You can modify your data, then you can set the column Metric Desc to be sorted by the Order column. See: 

 

q3.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for pointing that out. Turns out that I failed to notice there were repeating values in the Metric Desc column. 

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.

Top Solution Authors