【问题标题】:IIF(Field.Value) IN List then this Value in SSRS 2016IIF(Field.Value) IN List then this Value in SSRS 2016
【发布时间】:2017-07-13 14:47:43
【问题描述】:
IIF(First(Fields!PID.Value, "Group_Info") IN (3444,3555,3678,3989,4005,4100), "$85"
OR IIF (First(Fields!PID.Value, "Group_Info) IN (3456,3558,3645,3859,3958,4011,4300) "$75"

有没有办法做到这一点?我知道你不能用“IN”,我只是不知道你会用什么表达方式。

【问题讨论】:

    标签: reporting-services ssrs-2016


    【解决方案1】:

    试试这个:

    =SWITCH(
    First(Fields!PID.Value,Group_Info").Contains("3444","3555","3678","3989","4005","4100"),"$85"
    ,First(Fields!PID.Value,Group_Info").Contains("3456","3558","3645","3859","3958","4011","4300"),"$75"
    )
    

    【讨论】:

      猜你喜欢
      • 2022-11-20
      • 1970-01-01
      • 2022-12-01
      • 1970-01-01
      • 2021-07-26
      • 2017-01-22
      • 1970-01-01
      • 2022-12-02
      • 1970-01-01
      相关资源
      最近更新 更多