Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Alternating color in a matrix

Author  Topic 

bushfoot
Yak Posting Veteran

53 Posts

Posted - 2009-01-21 : 10:34:05
I have a matrix report.
The report has EmployeeNumber, EmployeeName, Callstarttime, cost
I am grouping on EmployeeNumber and EmployeeName
I have enabled subtotals
I would like to alternate colors when the EmpNumber/Name changes so...

1000 Joe now 0
1000 joe now 2
subtotal 2
1111 Christine now 0
111 Christine now 2
subtotal 2
I would all of the rows with Joe to be white and then I would like all of the rows with Christine to be yellow.
InScope("Column1") or InScope("Column2") didnt work. Is there another way on a matrix type report to tell when a new group of data starts?

Kel

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-21 : 11:25:49
try with something like
=IIF(rownumber("yourcolumngroup")%2 =0 ,"Green","Blue")
Go to Top of Page
   

- Advertisement -