How to do nested conditional formatting in ReportViewer? RRS feed

  • Question

  • Hi All:

    Can anyone help with nested conditional formatting using expressions in ReportViewer? Somehow the nested expressions below doesn't work---The red and blue showed up, but all the rest don't show as grey:

    =iif( (Fields!teamName.Value="Red Skin"), "Red", iif( (Fields!teamName.Value="Blue Devil" or Fields!teamName.Value="Dolpins"
    "), "Grey", "Blue" ) )

    Thank you very much for help!

    Tuesday, December 17, 2013 6:59 PM