This can be achieved very easily in SSRS with the help of IIF and RowNumber function for a simple report with no groupings. You can use a background color expression as:
= IIF(RowNumber(Nothing) Mod 2, "White","Gainsboro") |
It becomes little complicated in cases of Matrix and when some groupings are involved. In that case use following expression for the details row within a group:
= IIF(RunningValue(Fields!Some_Field.Value,Count,"Group_Name") Mod 2, "White","Gainsboro") |
No comments:
Post a Comment