Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

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

 

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]

  • 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: 

     

     

    Best Regards,
    Qiuyun Yu 

2 Replies

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    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: 

     

     

    Best Regards,
    Qiuyun Yu 

    • Anonymous's avatar
      Anonymous
      Not applicable

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