【发布时间】:2012-11-05 19:58:45
【问题描述】:
我必须在 SSRS 表达式中得到不同的行总和。
**StudentId TestScoreMath CurriculumEnrolled EnrollStatus**
100 200 Nursing Enrolled
100 200 Physical Enrolled
200 100 Tech Enrolled
Total Student TestScoreMath 应该是 300 而不是 400。我尝试使用表达式
=Sum(Fields!TestScoreMath .Value, "table1_Group3")
如何对不同学生的 TestScore 值求和?我只在 SSRS 中需要这个。
【问题讨论】:
-
您应该在问题中包含您的版本以及标签。这个问题的答案因版本而异。另外,你试过什么?你多远?您的报告现在是什么样的?
-
对于studentID 100,为什么总的TestScoreMath不是400?你能展示一个示例数据集以及你试图总结的分组吗?同意,查询级别绝对是解决此类问题的正确位置。
标签: reporting-services reportingservices-2005