SSRS Field Expression to change the background color of the Cell

前端 未结 6 2268
梦谈多话
梦谈多话 2020-12-06 00:23

I\'m trying to write a field expression for a Cell in my report where I have to change the background color of the cell depending on the string value in the cell. Ex: if the

6条回答
  •  悲哀的现实
    2020-12-06 00:40

    =IIF(Fields!ADPAction.Value.ToString().ToUpper().Contains("FAIL"),"Red","White")

    Also need to convert to upper case for comparision is binary test.

提交回复
热议问题