=IIF(FORMAT(MAX(Fields!Expr1.Value),"dd-MM-yyyy") = "","White",
IIF(
FORMAT(MAX(Fields!Expr1.Value),"dd-MM-yyyy")<Format(Today,"dd-MM-yyyy"),"Red",
IIF(
FORMAT(MAX(Fields!Expr1.Value),"dd-MM-yyyy")<Format(DateAdd("d",-10,today),"dd-MM-yyyy"),"Yellow",
"Green"
)
)
)
|