Link to home
Create AccountLog in
Avatar of ryanvb83
ryanvb83Flag for United States of America

asked on

Alternating background color of group header in MS Reporting Services

I'm looking for a way to alternate the background color of a group header in reporting services.  I'm currently using this code to alternate the detail rows to create a "green bar" effect, but it doesn't work in the group header because its still counting the number of rows, instead of the group headers.
=iif(rownumber(nothing) mod 2 = 1, "AliceBlue", "White")

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of jgv
jgv

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer