COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Stephaneky on 28 Jan 2018 05:24:12 PM

Title: TopCount equivalent to get 2nd, 3rd, 4th, etc. not top 2, top 3
Post by: Stephaneky on 28 Jan 2018 05:24:12 PM
Hello,

Using 10.2.2 and I am trying to find a way to pick the 2nd, 3rd, ...10th best performer individually out of a list of 20. TopCount will give me the top N items, but what I want is being able to select the 5th, or 4th etc. in a dimensional model.
Title: Re: TopCount equivalent to get 2nd, 3rd, 4th, etc. not top 2, top 3
Post by: Nikhil Shenoy on 28 Jan 2018 09:12:58 PM
Try Rank Function and then give filter based on which rank you want i.e. 4th, 5th, etc.

Hope this helps!

Regards