1

Hi To All Good Programmers,

I am developing a web-based app in which I need to generate some kind of reports. To do that, I prefer to use .rdlc embedded in VS 2010. There is a report named 'AccountReport' in which table rows are grouped according to some field of the table and it works fine.

The Problem: I need to add the Sum of a column as the last record of each group, the Sum is not a field of database table.. So How can I group it?

Here is a snap shot of what I need as the result. I have it already except the last record(row).

Report Image

How Can I rich the 'Total' Record? It is grouped by the 'Current Asset'. This image is prepared using MS Word of course.

Any Idea pleas?

4

1 回答 1

1

You need to use the Sum Function of Visual Studio Report Designer. Add a row in your report to show the total. Use the SUM function with your desired columnn name to set the expression. Check this answer for step by step pictorial details Sum of Column Values in rdlc report.
See similar question here


于 2013-07-07T09:44:11.827 回答