当存在单个条件时,我知道如何使用SSRS表达式。
=iif(fields!Type.value='Invoce', 'Red','Black')但是,如果有几个条件,例如,如何编写
if Type=invoce type=Purchse Return, Type=Sales Return我需要给大家不同的颜色。
谢谢
发布于 2015-05-13 17:39:11
IIF:
=IIF(字段!Type.value= "Invoice1“、"LightBlue”、IIF(字段!Type.value= "Invoice2“、"Plum"、IIF(字段!Type.value=”Invoice3“、"Orange”、“Aqua”))
开关:
=开关(Field!id.Value= "Invoice1“、"LightBlue”、Field!id.Value= "Invoice2“、"Plum"、Field!id.Value= "Invoice3”、"Orange“、TRUE、"Aqua")
https://stackoverflow.com/questions/30220368
复制相似问题