Subtotals in RDLC report

后端 未结 2 1093
情书的邮戳
情书的邮戳 2020-12-19 20:52

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

Book            Student           Borrowed
Book1           John                 


        
相关标签:
2条回答
  • 2020-12-19 21:43

    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?

    0 讨论(0)
  • 2020-12-19 21:45

    If you are using a table or matrix, i assume you put that in a list and set the list to group by book-name. That way, what actually happens is that a new table or matrix is generated for each book-name. If you are using a matrix, to have a subtotal is as simple as right clicking on the matrix detail's first cell and specifying SUBTOTAL in the menu. With a table, go to the footer and specify sum using RunningValue

    0 讨论(0)
提交回复
热议问题