28 May 2020
I am trying to create a dashboard that surfaces USQL data showing the count of users by application version. a Appversion N-2 type deal.
In semantic versioning 7.19.x would be higher than 7.2.x however in math that's not the case so the order by function produces the below, the bold being the numbers id expect being at the top:
In SQL I believe we could use a split method then do order by str1,str2,str3 but USQL shows no such function on the documentation.
Go to Solution.
29 May 2020
No, as this is a string it takes the lexicographic order.
However, you can add a custom property; e.g. with one longer string (e.g. with more numbers per part, "07.019.00",...), or 3 different longProperties as version numbers - then you can sort by those.
Extracting substrings and converting them to a number is currently not possible.