在RDLC报告汇总 [英] Subtotals in RDLC report

查看:146
本文介绍了在RDLC报告汇总的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要RDLC报告显示小计。
我的报告应该显示这样的数据:

I need to display subtotals in RDLC reports. My report should display data like this:

Book            Student           Borrowed
Book1           John              2
Book1           Mary              3
Book1           Bob               1

                Total:            6 --how to do it?

Book2           Alex              1
Book2           John              7
Book2           Dan               2
                Total:            10 --how to do it?

Grand Total:                      16



正如你所看到的,我已经将数据分组通过BOOKNAME和StudentName。最后一列显示了学生,去年有多少次借了这本书。
基本上实现总计是小菜一碟,但我似乎无法能够定义为每本书的小计。

As you see, I have the data grouped by BookName and StudentName. The last column shows how many times the student borrowed that book last year. Basically implementing the Grand Total is piece of cake but I can't seem to be able to define a subtotal for each book.

感谢。

推荐答案

您需要添加一组围绕这本书的名字的报告和组的详细信息部分 - 然后你可以在加总组页脚。在你的榜样,你会不会为每个第二册,BOOK3和Book4独立的群体?

You need to add a group around the details section of the report and group on the book name - you can then add a total in the group footer. In your example, wouldn't you have separate groups for each of Book2, Book3 and Book4?

这篇关于在RDLC报告汇总的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆