基于标签的SSRS数据类型转换

时间:2015-04-13 08:26:15

标签: visual-studio reporting-services ssrs-expression

如果该行的标签列符合条件,我试图将一个英镑符号(£)添加到值中。下面是我的表达,但它不起作用。谁能告诉我为什么?

=IIF(Fields!RowLabel = "Revenue For jobs Pain In (£)", "£"+CStr(Fields!Yesterday), Fields!Yesterday)

1 个答案:

答案 0 :(得分:1)

。代码中缺少值。用这个:

= IIF(字段!RowLabel.value =“工作收入痛苦(£)”,“£”+ CStr(Fields!Yesterday.value),cstr(Fields!Yesterday.value))