Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

SSRS Expressions background color

$
0
0
Good day experts,i have a task to set back ground color to my table.the conditions are if Column LastydiffBackupdate is less 2 days then color the column green.If more than two days color red, here is the code which worked fine.=IIf(DateDiff("d",Fields!LastDiffBackupDate.Value, Today())<2,"Green","Red")now i must set another colour experssion to the same column for if it is null then no color.My question is how can i add another iff statement to the one above.I am trying this this not working =IIf(DateDiff("d",Fields!LastDiffBackupDate.Value, Today())<2,"Green","Red") OR IIf(IS Nothing(Fields!LastDiffBackupDate.Value),"Transparent").Please help!!

Viewing all articles
Browse latest Browse all 6525

Trending Articles