Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 Tablix SSRS 2008 R2 中同时使用交替颜色的行 + 用特定单元格上的另一个表达式覆盖颜色?
我能够单独为单元格和单独的行着色,但不能两者兼得。任何的想法?
谢谢
BackgroundColor一个简单的例子,只是用一些嵌套IIf函数扩展属性中的逻辑。我使用了以下表达式:
BackgroundColor
IIf
=IIf(Fields!val.Value = 3 , "Red" ,IIf(RowNumber(Nothing) Mod 2 = 0, "LightGrey", "LightSteelBlue") )
结果如下: