0
我有一个表,看起来像这样水晶报表交叉表的背景颜色
category | number | month year | Color
-----------------------------------------------------
All | 0.25 | YTD 2017 |
Apple | 1.23 | MAR 2017 |
Orange | 1.10 | FEB 2017 |
Orange | 3.33 | YTD 2017 | green
Apple | 2.20 | FEB 2017 |
Apple | 1.11 | YTD 2017 | red
我希望我的交叉表看起来像这样
|FEB 2017|MAR 2017|YTD 2017
-------------------------------------
Apple | 2.20 | 1.23 | 1.11 (I want this cell to be red)
Orange | #.## | #.## | 3.33 (I want this cell to be green)
All | #.## | #.## | #.##
是我迄今所做的是有颜色在汇总字段中。
它显示为文本的值。但我无法为它着色......这是交叉表背景颜色的公式
if {table1.SColor} = "Green" then crGreen
else if {table1.SColor} = "Orange" then crRed