How to add 2 different colors for alternative rows?
i.e in a report all rows colors in alternative colors(2
colors)

Answer Posted / v m v k reddy

Suppose you are creating a report with two data items
Customer_Name and Total-sales respectively.

Create two new data items.
1.Dataitem1: Running-count([CUSTOMER_NAME])
2.Dataitem2: Mod([Data Item1],2)

Create a variable :
Boolean [Query1].[Data Item2]=1 or 0

Come to conditional explorer bar, select YES, under
properties select the background color.

Come to conditional explorer bar, select NO, under
properties select the background color.

Save report and run.

IT WILL WORK.

Regards VMVK REDDY

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Bitmap Index?

608


What is dtm?

711


Can you define drill down and drill up?

635


how u will design the report if the objects are available

2323


What is a Datastore in Cognos?

797






9. What was the most complex type of report you dealt with?

1732


where you can save the report net documentation in our local system?

634


describe the starschema grouping ?how can i add a new column for existing report ,when it is not present even in model & dataabase?

1896


Define metrics studio?

575


WHAT IS METRIC STUDIO?WHAT IS SCORE CARDS HOW TO IMPLEMENT IT AND WHAT IS THE USE OF SCORE CARD?

5972


Suppose you run a report with empty data, how will you inform the end user that it has no data while running the report in report studio? Is it possible, if so how?

557


Can you define dimension?

635


What is defined as catalog and types of catalogs in Cognos?

566


Can you define cube?

580


We can use a calculated field to dynamically create the burst recipients in Cognos 8. Can we do the same in Cognos ReportNet 1.1?

2082