Hi John,
Thanks for the reply. I was able to get the query to rank the sales. However, I'm unsure as to how to assign a percentile.
Your example would work fine if there were only a few ranking, however I have rankings up to 100,000 for which I need to assign a percentile.
Example provided...