Reporting Services Export places totals in each and every line of detail

JamesDBuskirk used Ask the Experts™
I am a reporting services newbie, with one class and a few months experience under my belt. I have created a basic report using the MS BIDS Tool. I have just added a footer row with Totals to the report. When I do a CSV export from the IE Report Manager, the output file contains the totals IN FRONT of the detail data in EVERY record. When I export in PDF format this does not occur. Here is what I get:


What I desire is:

with the totals on a separate line at the bottom. Is this a bug I should take up with Microsoft?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
No, I think that behaviour is correct. Because CSV does not have any formatting etc to indicate which row is the total row, all data items are added to each row of the output file. Each row within the CSV file should represent the same type of item, and it's not normal to add a total row at the end of the file.

I would consider allowing the user to hide the totals altogether (or provide another report without totals) then export this version to CSV.

If you absolutely must have a CSV file with a totals line at the end then you could add the totals line into the SQL query using a UNION statement, and then produce a flat report based on that query which can be exported to CSV.


I was practicing, so I really don't need the totals. I'll just take them out of the report. Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial