我正在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**
提前致谢。
答案 0 :(得分:0)
您可以在组后添加总计并使用表达式CountDistinct(Completed_Date)
来获得所需的值