Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


I would like to have an SSRS report export data to Excel every two hours


I would like to have an SSRS report export data to Excel every two hours

Author
Message
robert693
robert693
Grasshopper
Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)Grasshopper (22 reputation)

Group: General Forum Members
Points: 22 Visits: 59
Hello,

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!
eric.muller
eric.muller
Mr or Mrs. 500
Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)Mr or Mrs. 500 (562 reputation)

Group: General Forum Members
Points: 562 Visits: 1306
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.

Cheers,
EJM
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search