Display Every three rows has diffrent color repeatedly using tablex report in ssrs

  • Hi All,

    I have one requirement like report display 25000,client want to display

    row1=green,

    row2=blue,

    row3=red,

    row4=green,

    row5=blue,

    row6=red,

    row7=green.........

    can any one give me how to resolve the issue with details.

    Thanks,

    Vivekanand Kola

  • Try this:

    In the Report maintain a new column with Id, like it is an serial number , You can do this Using ROW_NUMBER() OVER (Order BY column)

    And in your report select the entire Row which has values., go to Properties

    And Under color , Update Black with

    =Switch((Fields!RowID.Value MOD 3) = 1,"Green",(Fields!RowID.Value MOD 3) = 2,"Red",(Fields!RowID.Value MOD 3) = 0,"Blue")

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply