Forum Discussion
PowerBI Sorting /Ranking numbers non-numerically
I have a heatmap of product failures based on product characteristics. Right now my matrix is sorting my rows incorrectly. Right now from top to bottom, it is reading 1000, 105, 110, 115, 120, 1200, 1250, 130... and I want it to be in the order of 105, 110, 115, 120, 130, 1000, 1200, 1250. I do have these values as "whole numbers" in my data table. But it seems like it is sorting them alphabetically. Thank you for any tips you have!
- Anonymous3 years ago
Solved - I had to unpivot my data at one point, and when I made my feild parameters I accidentally used my unpivoted data. Therefore, it was using my unpivoted data type of "text." I was able to re do my feild parameters using my original data - and this solved the issue.
2 Replies
- AnonymousNot applicable
Some help has been given to me on reddit
https://www.reddit.com/r/PowerBI/comments/10fdn9j/powerbi_sorting_ranking_numbers_nonnumerically/
- AnonymousNot applicable
Solved - I had to unpivot my data at one point, and when I made my feild parameters I accidentally used my unpivoted data. Therefore, it was using my unpivoted data type of "text." I was able to re do my feild parameters using my original data - and this solved the issue.