If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Color odd and even rows

Started by cognosmanager, 29 Apr 2012 01:09:37 PM

Previous topic - Next topic

cognosmanager

Hi All,

How to get background color on rows for eg first row should come in red color, second yellow, third red, and then again yellow and so on.


HalfBloodPrince

Hi try this out

1]Create a calculated column as Row with calculation running-total (1). This will gives you row no.

2 ]then create a Boolean variable with expression  mod([Query1].[Row],2)=0

3]then from ansister button select  List column body style and set  style variable as Boolean go to conditional explorer
and set background color property for no as Red  and For yes as Yellow ( As per your requirement)
and run.

cognosmanager