I am trying to rank my table values as 1,2,3,4,5 etc however when using the RANKX function I have noticed that if my values are the same for example 4 values are 25 then the ranking would be for example 1 for all 4 of those values. But I would want them to be 1,2,3,4 etc.
The values are commonly going to be the same for multiple "short descriptions" I am not bothered about the order of the ranking if they are the same. Just making sure the rank rating is in order from 1-15.
Any thoughts?
Thanks
ROW_NUMBER()
instead ofRANK()
. It is not clear if you want a SQL solution. – Gordon Linoff