I have a stored procedure where I'm trying to gather top 10 percent, top 20 percent, top 30 percent, etc. of activity in one year to compare with same grouping in another year. I'm using this to populate charts that have previously been populated manually.
How can I make sure that my top 10 percent companies are those bringing in only up to the top 10.0 percent of our revenue, not 10.1 percent as is happening now?
Thanks in advance for your help!
How can I make sure that my top 10 percent companies are those bringing in only up to the top 10.0 percent of our revenue, not 10.1 percent as is happening now?
Thanks in advance for your help!