Thank you very much for your help on that. I have used the code you provided it’s working great. One thing to point out is that it was very hard to debug the issue, I first thought there was an error with the template column. The reason for this was that the JS column in my glide computed column was showing the values for about an hour into breaking. So all other columns in my app using the JS stopped reading any values, but the JS itself still showed the values, after about an hour the JS finally rendered as blank and I was able to find the source of the problem.
I simply have a need to calculate the median. Glide does not offer this in any computed column and I know no other way to get this figure other than Js. Median is part of my ‘Market Value’ equation and thus very critical. Can you suggest a better way? Thank you.