COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: naveen.odi@gmail.com on 26 Jul 2015 12:35:17 AM

Title: Alternate Row Highlighting
Post by: naveen.odi@gmail.com on 26 Jul 2015 12:35:17 AM
Hi, i want to highlight first 3 rows in 'Yellow' colour & next 3 rows in "Green" colour & next three rows in "red" colour......Can anyone guide me?
Title: Re: Alternate Row Highlighting
Post by: NIEK87 on 27 Jul 2015 01:58:51 AM
Select the column(s) that you want to highlight:
Title: Re: Alternate Row Highlighting
Post by: naveen.odi@gmail.com on 27 Jul 2015 05:58:49 AM
Thanks for your Help. My report contains 1000 rows.......
Title: Re: Alternate Row Highlighting
Post by: NIEK87 on 27 Jul 2015 08:38:08 AM
Do you  mean that you want the following?


You can achieve that by creating a second object with the expression: mod(running-count([Your Object]);9)
Change the advanced conditional style to:
[second object] between 1 and 3: yellow color
[second object] between 4 and 6: green color
other values: red color
Title: Re: Alternate Row Highlighting
Post by: naveen.odi@gmail.com on 27 Jul 2015 11:19:12 PM
Yes this is the one I need for my requirement. Thanks for your valuable help....