【问题标题】:Get count when value is null当值为空时获取计数
【发布时间】:2015-02-18 08:37:58
【问题描述】:
=iif(Len(Fields!IsAbsent.Value) = 0,count(Fields!IsAbsent.Value),0)

在上面的查询中,我想在 IsAbsent 返回 null 时获取计数。当值为 null 时,count 函数不起作用。

【问题讨论】:

    标签: ssrs-2008 rdlc microsoft-reporting


    【解决方案1】:
    =Sum(iif(IsNothing(Fields!.Reading.Value ), 1, 0))
    

    我无法自行检查,但请尝试这样的方式。

    【讨论】:

      猜你喜欢
      • 2014-04-15
      • 1970-01-01
      • 2017-10-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-29
      相关资源
      最近更新 更多