I'm trying to write a field expression for a Cell in my report where I have to change the string color of the cell depending on the string value in the cell.
Ex: if the column name as 'result' has a value 'FAIL'in it, the cell should show a Red color.
I tried the following:
=IIF(Fields!result.Value ="fail","red","green")
But It shows all fields in green color. please help
Thanks