Thursday, February 25, 2016

SSRS - How to alternate row / record colors

http://stackoverflow.com/questions/44376/add-alternating-row-color-to-sql-server-reporting-services-report

Go to the table row's BackgroundColor property and choose "Expression..."
Use this expression:

=iif(RunningValue(Fields![rowgroupfield].Value.ToString,CountDistinct,Nothing) Mod 2,"Gainsboro", "White")

No comments:

Post a Comment