Reporting services 我想使用颜色变化的负字段,并希望在ssrs中显示为正值
我想使用颜色变化的负字段,并希望在ssrs中显示为正值。 这是我在填充颜色属性中使用的Reporting services 我想使用颜色变化的负字段,并希望在ssrs中显示为正值,reporting-services,Reporting Services,我想使用颜色变化的负字段,并希望在ssrs中显示为正值。 这是我在填充颜色属性中使用的 =Switch(Fields!tmp_DayDifference.Value < 0, "Firebrick", Fields!tmp_DayDifference.Value > 0,"DarkSeaGreen" , true, "NoColor") NoColor不是SSRS中颜色属性的有效值,请尝试使用Transparent =Switch(Fields!tmp_DayDifferen
=Switch(Fields!tmp_DayDifference.Value < 0, "Firebrick",
Fields!tmp_DayDifference.Value > 0,"DarkSeaGreen" ,
true, "NoColor")
NoColor
不是SSRS中颜色属性的有效值,请尝试使用Transparent
=Switch(Fields!tmp_DayDifference.Value < 0, "Firebrick",
Fields!tmp_DayDifference.Value > 0,"DarkSeaGreen" ,
true, "Transparent")
=开关(字段!tmp\u DayDifference.Value<0,“Firebrick”,
字段!tmp_DayDifference.Value>0,“暗绿色”,
正确,“透明”)
如果要将值显示为正值,只需更改“属性”框中的格式即可。比如说,您从标准格式开始使用负片
只需删除负数的括号即可:
您的答案无效。请求是定义字段颜色,具体取决于字段!tmp_DayDifference.Value为负、正或零。
=Switch(Fields!tmp_DayDifference.Value < 0, "Firebrick",
Fields!tmp_DayDifference.Value > 0,"DarkSeaGreen" ,
true, "Transparent")