【问题标题】:Writing a SUM statement within a column group that has multiple columns在具有多个列的列组中编写 SUM 语句
【发布时间】:2018-10-25 18:32:48
【问题描述】:

请看图片了解我的问题谢谢

Question and example typed in word

【问题讨论】:

    标签: reporting-services


    【解决方案1】:

    您需要将字段TotalCamp 的值减去其他两个字段(OT、HRRG)。因此,Salary 的表达式应如下所示:

    =Fields!TotalCamp.Value - (Fields!OTAmount.Value + Fields! HRRGAmount.Value)
    

    如果您将 tablix 分组,您还需要添加范围:

    =(Fields!TotalCamp.Value, "YourGroupName") - ((Fields!OTAmount.Value, "YourGroupName") + (Fields!HRRGAmount.Value, "YourGroupName"))
    

    【讨论】:

      猜你喜欢
      • 2023-03-09
      • 2020-06-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-29
      相关资源
      最近更新 更多