【问题标题】:Need rdl sorting expression not in abc order需要 rdl 排序表达式不按 abc 顺序
【发布时间】:2017-08-29 14:57:19
【问题描述】:

我的数据: SLP,PT,OT

目前我正在做 Z 到 A 的订单,所以它以 SLP、PT、OT 的形式出现

我需要 SLP、OT、PT。

【问题讨论】:

    标签: reporting-services rdlc rdl


    【解决方案1】:

    使用 switch 表达式..

    =switch(Fields!Thingy.Value = "SLP", 1, Fields!Thingy.Value = "OT", 2, ..etc)
    

    我的结局总是

    1=1, 9999)
    

    这样任何没有考虑到的都会在最后消失。你也可以使用

    TRUE, 9999)
    

    【讨论】:

      猜你喜欢
      • 2015-07-02
      • 1970-01-01
      • 2023-03-09
      • 2021-10-10
      • 1970-01-01
      • 1970-01-01
      • 2021-11-28
      • 1970-01-01
      • 2016-10-10
      相关资源
      最近更新 更多