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

SSRS Datatype conversion based on label

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

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

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

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