【发布时间】:2013-11-26 14:37:56
【问题描述】:
在 Reporting Services 2008 R2 的 Tablix 中,我有以下代码可以根据值更改背景颜色:
=switch(Fields!Mean_Difference.Value > 0,"#DA9694",
Fields!Mean_Difference.Value = 0,"#FCD5B4",
Fields!Mean_Difference.Value < 0,"#C4D79B")
但是,当有一个 NULL 值时,它会将其格式化为与 0 相同的颜色,问题是我不希望它被格式化,只是留空。我试过使用 isNothing() 没有运气,似乎找不到答案。
这个可以吗?
【问题讨论】:
标签: reporting-services switch-statement expression ssrs-2008-r2