Forum Discussion
Issues sorting one column by another when using filters
- 7 years ago
Hi Chris3y
Based on my test, you may check the 'Title' column. The error is because it has duplicate values. If there is no duplicate titles it will not have error and it could be sort by row number as below pictures.
Error
correct
Regards,
Cherie
Hi Chris3y
Do you use table visual or others? It could be sorted without RowNumber column.
Regards,
Cherie
Rightly or wrongly, I'm specifically using the built-in "matrix" visual. The "Sort by Column" button is greyed out, even after selecting the "RowNumber" column from the field list. The button is only enabled if I add the RowNumber column to the visual which I'm trying to avoid.
- v-cherch-msft7 years agoMicrosoft Employee
Hi Chris3y
Please follow below steps: 1. Click the 'Title' column 2. Click the 'Sort by column' and select 'RowNumber' column.
Regards,
Cherie
- Chris3y7 years agoFrequent Visitor
That's what I've been trying all along. I tried again got the same message:
"There can't be more than one value in "RowNumber" for the same value in "Title". Please chose a differenct column for sorting.
I cannot understand why it's so difficult to sort by a non-visible field. To be clear, if I had the row number field to the Matrix, I can sort it without issue, simply by clicking its column heading.
- v-cherch-msft7 years agoMicrosoft Employee
Hi Chris3y
Could you share the .pbix file or the sample data for your scenario? You can upload it to OneDrive and post the link here or send me via private message. Do mask sensitive data before uploading.
Regards,
Cherie