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.
正如标题所示,我想自定义报告中的单元格颜色(我正在开发报告应用程序),即:我的报告包含一个表格,其中填充了从 1 到 4 的整数。
1--> red 2--> green . . .
任何帮助,将不胜感激
您需要转到该字段的背景颜色或字体颜色属性(无论您要着色哪个)。然后去表达。在表达式中做类似这样的事情:
=Switch(Fields!Field.Value = 1, "Red" , Fields!Field.Value = 2, "Green", Fields!Field.Value = 3, "Black")