Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

I would like to have an SSRS report export data to Excel every two hours Expand / Collapse
Posted Wednesday, May 15, 2013 8:56 AM


Group: General Forum Members
Last Login: Friday, October 11, 2013 12:14 PM
Points: 19, Visits: 50

I would like to have an SSRS report export data to Excel every two hours and add the data to the next column. The data is based on two fields, Closed and Open. The report will total the number of each when it is run. I would like to dynamically export these totals to a column in an Excel spreadsheet and two hours later the report will export the data at that point and put it in the next column and so on. I could set up a subscription in MS System Center Service Manager. I was wondering if anybody has done this before? Thank you for all your help!
Post #1453157
Posted Thursday, May 16, 2013 10:27 AM


Group: General Forum Members
Last Login: Today @ 12:23 PM
Points: 483, Visits: 1,091
This actually sounds like a job better suited to SSIS, since you want to constantly be writing to the same Excel file.

I'd do some Googling on SSIS exporting to Excel; you may need to have a "staging sheet" in the workbook to get the data into the sheet, and then a script that will copy it from there into the first empty column in another sheet.

I know just enough to be dangerous on this sort of thing, so hopefully someone with a little more knowledge will be able to chime in.

Post #1453662
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse