Reporting services 将总计添加到重复值中
我有这样的要求Reporting services 将总计添加到重复值中,reporting-services,Reporting Services,我有这样的要求 claimnumber -- amount -- category ----------- ------ -------- 123 -- 10 -- A 123 -- 10 -- B 456 -- 10 -- C 456 -- 10 -- B 我想报告分组数据,如下所示, 第2号不同索赔 总共20
claimnumber -- amount -- category
----------- ------ --------
123 -- 10 -- A
123 -- 10 -- B
456 -- 10 -- C
456 -- 10 -- B
我想报告分组数据,如下所示,
第2号不同索赔
总共20英镑
Total Count -- Total Amount
----------- ------------
2 -- 20
SSR是如何实现的?这应该可以:
select
count(claimnumber) as [total count],
sum(amount) as [total amount]
from tablename
group by claimnumber
我必须根据ssrs报告中的第一个表(数据集)而不是sql生成第二个表。