COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: devardekartb on 24 Aug 2015 05:35:56 AM

Title: conditional fomatting
Post by: devardekartb on 24 Aug 2015 05:35:56 AM
I want to highlight top three records of each column in my cognos report who are having fact data.Along with the top three values the dimension data related to those columns also needs to be highlighted.Please advise.
Title: Re: conditional fomatting
Post by: Vivekmore23 on 24 Aug 2015 06:38:33 AM
Hi

Depending on the fact data condition use the rank function. This would be available by adding one calculation using inbuilt functions. Functions --> Summary Functions --> rank ([column name])

e.g. to get top 3 salary the function would be rank (salary).

once you get he rank, use variable to apply conditional style  :)

That should do it

Regards
Vivek M