Check out this article of mine first:
Sort the dataset first by sum(score). Then
You will need something like:
If percentile(sum(score)) <=.1 then 'decile1'
Try it. Post it if question.
On Monday, February 8, 2016, Josh Craig <email@example.com>
Thanks for responding.
I've tried this but I just get errors. It looks like the percentile function is missing an argument.