Report Builder 3.0 I have 2 columns - one is est hours - one is act hours I want to change the hours in the act to "red" when it is higher than the estimate hours
I have tried the following
IIF(Fields!AcutalHours.Value > Fields!Estimate_Hours.Value "Red"
and I have tried the following
=Switch(Fields!Estimate_Hours.Value < Fields!AcutalHours.Value, "Black"), =Switch(Fields!AcutalHours.Value > Fields!Estimate_Hours.Value, " Red ")
I am using the font expression
Are the fields definitely Numeric? Try converting them to Int to ensure it's comparing them as numbers.:
=Iif(CInt(Fields!ActualHours.Value) > CInt(Fields!Estimate_Hours.Value), "Red", "Black")