0

我正在 SSRS 2008R2 中创建报告。报告如下所示:

                      NSN         Learner          Employer      Completed Date
 Qualification 1      123356       Tom             Employer 1     12/2/2012
                      213134       Jerry           Employer 2     25/2/2010
                      545456       Harry           Employer 3     04/2/2011
 Qualification 2      565557       Pete            Employer 1     17/12/2001
                      154646       Susie           Employer 5     12/13/2005

我想计算一个资格中的记录总数,并在每个资格之后将其作为一行放在表中。表按资格字段分组。报告应如下所示:

                      NSN         Learner          Employer      Completed Date
 Qualification 1      123356       Tom             Employer 1     12/2/2012
                      213134       Jerry           Employer 2     25/2/2010
                      545456       Harry           Employer 3     04/2/2011
                                                   **Total             3**
 Qualification 2      565557       Pete            Employer 1     17/12/2001
                      154646       Susie           Employer 5     12/13/2005
                                                    **Total             2**

提前致谢。

4

1 回答 1

0

您可以在组后添加总计并使用表达式CountDistinct(Completed_Date)来获得所需的值

于 2012-05-23T07:53:15.043 回答