I have a field that was very clearly a Double, was set as numeric, but was brought into the Portal as a String (edit: via an Excel Spreadsheet, for an ad-hoc product). This happens all the time, and if you don't catch it immediately and change it in the dialog box, you're out of luck. Now, I am trying to sort Descending using this field, and it is sorting it as a String, so the largest numbers are not in fact at the top of the list, not to mention that I cannot calculate based on this field. I am not at the position to reupload the layer.
I tried to Add Field (Double) and Calculate, and while it verifies the expression (just a field1 = field2, but I have tried others) it gives an error after I press calculate.
Is this not an innate function within Portal?