[Forum FAQ] How do I export each group data to separated Excel files in Reporting Services?

Introduction
There is a scenario that a report grouped by one field for some reasons, then the users want to export each group data to separated Excel files. By default, we can directly export only one file at a time on report server. Is there a way that we can split
the report based on the group, then export each report to Excel file?
Solution
To achieve this requirement, we can add a parameter with the group values to filter the report based on the group, then create a data-driven subscription for the report which get File name and parameter from the group values.
In the report, create a parameter named Name which use the Name field as Available Values (supposing the group grouped on Name field).
Add a filter as below in the corresponding tablix:
Expression: [Name]
Operator: =
Value: [@Name]
Deploy the report. Then create a data-driven subscription with Windows File Share delivery extension for the report in Report Manager.
During the data-driven subscription, in the step 3, specify a query that returns the Name field with the values as the group in the report.
In the step 4 (Specify delivery extension settings for Report Server FileShare), below “File name”option, select “Get the value from the database”, then select Name field.
Below ‘Render Format’ option, select Excel as the static value.
In the step 5, we can configure parameter Name “Get the value from the database”, then select Name field. 
Then specify the subscription execute only one time.
References:
Create a Data-Driven Subscription
Windows File Share Delivery in Reporting Services
Applies to
Reporting Services 2005
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh

Similar Messages

  • [Forum FAQ] How do I display disclaimer message popup window before display the SSRS report?

    Question:
    The requirements is that when you click the report on report manager you will get an popup window with the disclaimer message, only after you read this message you can click the “Agree” button, then you can continue to read the content of the report, if you
    disagree with it, you can click the “Disagree” button to back to the home or other path you want.
    Answer:
    To achieve this goal, we can add some JS or JQuery code in the report.aspx file in the path like:”C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\Pages”
    Find the path of the report.aspx file and add these code in to it.
    <script type="text/javascript" src="</script">http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
    <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
     $(function() {
            var result = new RegExp('[\?&]ItemPath=([^&#]*)').exec(window.location.href)[1];
    //get the path of the folder which the report exists
            var reportFolder = result.split('%2f')[1];
    //get the report name which you want to add this pop up window.
    var reportName = result.split('%2f')[result.split('%2f').length - 1]; 
     //hide the report before you click the agree button
           document.getElementById("ui_form").style.display = "none";
                //alert(result);
                //alert(reportFolder); //test the report folder name to see if it is correct
           if (reportName == "your report name" && reportFolder=="your folder name") {           
     $("#dialog").dialog({
                    title: "jQuery Dialog Popup",
                    height: "250",
                    modal: true,
                    buttons: {
                        "Agree": {
                            text: "Agree",
                            id: "my-button-id1",
                            click: function() {
                                $(this).dialog('close');
    //display the report after you click the agree button.
    document.getElementById("ui_form").style.display = "block";                         }
                        "Disagree": {
                            text: "Disagree",
                            id: "my-button-id2",
                            click: function() {
                                location.href = '/Reports'
            else {
                document.getElementById("ui_form").style.display = "Block";
    </script>
    <div id="dialog" style="display: none; z-index:20001">
     Please make sure you have read this information and understand clearly before enter the report.
    </div>
    When you click the report you will the popup window as below:
    when you click “Agree” the report will display and when you click “Disagree” it will back to the home page.
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Question:
    The requirements is that when you click the report on report manager you will get an popup window with the disclaimer message, only after you read this message you can click the “Agree” button, then you can continue to read the content of the report, if you
    disagree with it, you can click the “Disagree” button to back to the home or other path you want.
    Answer:
    To achieve this goal, we can add some JS or JQuery code in the report.aspx file in the path like:”C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportManager\Pages”
    Find the path of the report.aspx file and add these code in to it.
    <script type="text/javascript" src="</script">http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
    <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
     $(function() {
            var result = new RegExp('[\?&]ItemPath=([^&#]*)').exec(window.location.href)[1];
    //get the path of the folder which the report exists
            var reportFolder = result.split('%2f')[1];
    //get the report name which you want to add this pop up window.
    var reportName = result.split('%2f')[result.split('%2f').length - 1]; 
     //hide the report before you click the agree button
           document.getElementById("ui_form").style.display = "none";
                //alert(result);
                //alert(reportFolder); //test the report folder name to see if it is correct
           if (reportName == "your report name" && reportFolder=="your folder name") {           
     $("#dialog").dialog({
                    title: "jQuery Dialog Popup",
                    height: "250",
                    modal: true,
                    buttons: {
                        "Agree": {
                            text: "Agree",
                            id: "my-button-id1",
                            click: function() {
                                $(this).dialog('close');
    //display the report after you click the agree button.
    document.getElementById("ui_form").style.display = "block";                         }
                        "Disagree": {
                            text: "Disagree",
                            id: "my-button-id2",
                            click: function() {
                                location.href = '/Reports'
            else {
                document.getElementById("ui_form").style.display = "Block";
    </script>
    <div id="dialog" style="display: none; z-index:20001">
     Please make sure you have read this information and understand clearly before enter the report.
    </div>
    When you click the report you will the popup window as below:
    when you click “Agree” the report will display and when you click “Disagree” it will back to the home page.
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

  • Export Pivot table data to a Excel file

    Hi All,
    I am using OBIEE 10.1.3.
    In my asnwers I am displaying the Pivot view and want to export the results to a excel sheet.The dowlnoad option is not coming for Pivit view.
    In case of compound view I am able to see the download option to export to excel sheet.
    Please suggest.
    thanks

    The Compound Layout has a purpose and that is to display your report with the download optons you can "turn on," including "download to Excel." To answer your question of somehow enabling a "download link" from the Pivot Table view, sorry, you can't do that. However, here's what you can do:
    In Answers, use the Compound Layout view to download the pivot table. If the Compound Layout view is used for other purposes and you need only the pivot table view to download (as a report designer) and you really need this functionality, then create a duplicate of the Compound Layout and put only your pivot table in it. Now you can download.
    If you are talking about dashboards, then use the Properties>Report Links from the Properties button of the report and check off "download." Again, if your Compound Layout is used for other purposes (and requires other views in it), then drag the report into another section of the dashboard and in Edit Dashobard, click on the Properties of the report>Show View>Compound Layout:2 that you created in the previous paragraph. Enable downloading on this and you can download only the Pivot table.

  • How can I export a group email address to a .csv file. I can export the whole address book but it looses the group listings.

    I have an address book in Thunderbird and want to export one group listing to a .csv file. I couldn't find a way of exporting one group so exported the whole address book then opened the .csv file and was going to remove the all addresses except the group but the group name was not in the file.
    Is it possible to export the group listing.
    Thanks
    Ron

    Open Address Book, select the mailing list in the left pane, then Tools/Export, select csv (comma separated) format, name the file, click Save.

  • Export each chapter as one H.264 file

    Hi friends
    I´ve made a project in Adobe Premiere Pro CS5.5 (using Windows 7 Ultimate 64 bits). The length of the project is about 2 hours.
    I´ve already divided the timeline into 20 chapters (in order to use in Encore when creating the DVD or Blu-Ray).
    Now I´d like to publish a copy of this project to Youtube. But 2 hours is too length for one video. I thought I could separate the project into it´s 20 chapters. So I upload to youtube 20 files...the chapters.
    My question is: Is there any way to order Adobe Premiere to export each chapter as one H.264 file suitable for Youtube (using the Youtube Widescreen HD preset)?
    What´s the best way to do it?
    Thank you for the help
    Best Regards
    Gustavo.

    Gustavo,
    There are three ways that a Reply gets the Correct, and Helpful answers, and two are almost the same.
    The OP can make those assignments, so long as they had originally marked their post as a question. This can be done at any time, and is greatly encouraged, as it help the Adobe Forum Team. See this article: http://forums.adobe.com/thread/1058744?tstart=30 Also, there is the often overlooked "Was this helpful? Yes No," that helps in gathering data. I do not think that those contribute to a poster's "points," but do help the Adobe Forum Team determine how well the forums are working. Anyone can mark those, and I encourage anyone, coming to a thread, to take a moment, and do that, especially if a Reply helped them too. Those can be marked, regardless of the Correct, or Helpful marks, and go into a slightly different database.
    A MOD, with MOD privileges in that particular Forum, can mark Replies. Also, one might have MOD privileges in one Forum, but not others.
    An Adobe Administrator, with full privileges can mark Replies.
    Usually a MOD will not do that marking, while a thread is active, but perhaps with the push to get data for the Adobe Forum Team, a MOD, knowing that the answers were correct, did the marking? That is but a guess.
    Good luck,
    Hunt

  • How to export the data to a  Excel file

    Hi all,
    How to use the  'EXCEL_OLE_STANDARD_DAT'
    to export the data from itab to EXCEL file.
    REPORT  ZT11.
    data : begin of itab occurs 0,
          t1(3)  type c  value 'sag',
          t2(3)  type c value 'ntc',
          end of itab.
          append itab.
          write : itab-t1,itab-t2.
          CALL FUNCTION 'GET_FIELDTAB'
          EXPORTING
            LANGU                     = SY-LANGU
            ONLY                      = ' '
            TABNAME                   = ' '
            WITHTEXT                  = 'X'
          IMPORTING
            HEADER                    =
            RC                        =
            TABLES
              FIELDTAB                  =
          EXCEPTIONS
            INTERNAL_ERROR            = 1
            NO_TEXTS_FOUND            = 2
            TABLE_HAS_NO_FIELDS       = 3
            TABLE_NOT_ACTIV           = 4
            OTHERS                    = 5
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
            EXPORTING
              FILE_NAME                       =
            CREATE_PIVOT                    = 0
            DATA_SHEET_NAME                 = ' '
            PIVOT_SHEET_NAME                = ' '
            PASSWORD                        = ' '
            PASSWORD_OPTION                 = 0
          TABLES
            PIVOT_FIELD_TAB                 =
            DATA_TAB                        =
            FIELDNAMES                      =
          EXCEPTIONS
            FILE_NOT_EXIST                  = 1
            FILENAME_EXPECTED               = 2
            COMMUNICATION_ERROR             = 3
            OLE_OBJECT_METHOD_ERROR         = 4
            OLE_OBJECT_PROPERTY_ERROR       = 5
            INVALID_PIVOT_FIELDS            = 6
            DOWNLOAD_PROBLEM                = 7
            OTHERS                          = 8
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.

    Hi, you can even use control technology. There are several example programs how to export data to excel. Please go to transaction SE80. Choose enviroment->examples -> control examples.  Take a look at office integration.
    /Ernesto

  • How do I Export Address Book data?

    Is there anyway to insert Address Book data into other (non-Apple) applications, e.g. Word?
    I want to send out some letters and I would like each letter to have the recipiants address at the top of the letter. Even if I could export the data to Excel first would be OK but I only seem to be able to export vCards from Address Book and Excel (nor Word) can read them?
    Any help would be appreciated.
    Thanks,

    Yink,
    you can use some third-party applications to export Address Book data as plain text files (e.g., csv) which you should then be able to import without any problems in Excel and the like.
    Some options are:
    • Export Addresses from Mail Scripts
    http://homepage.mac.com/aamann/
    • Address Book Exporter
    http://www.gwenhiver.net/address-book-exporter.html
    • Export Address Book
    http://software.dibomedia.de/ExportAddressBook
    Andreas

  • How do I export/import keyboard shortcuts to a text file

    How do I export/import keyboard shortcuts to a text file?
    It would be nice to export them, edit and/or add to them in a text editor on my iMac, then import them back into iPhone and iPad.

    You can backup the bookmarks to a file, then copy that file to the new computer and import them, for details see [[Backing up and restoring bookmarks]].
    You can copy more than just the bookmarks. The user data, such as bookmarks and passwords, are stored in the profile folder. You can copy the data manually by copying the contents of the profile folder, for details see [http://kb.mozillazine.org/Profile_backup Profile backup - MozillaZine Knowledge Base] or [[Backing up your information]].
    There are some add-ons and utilities that can make this process easier. The first one is the [https://addons.mozilla.org/en-US/firefox/addon/2109/ FEBE] add-on which can be used to copy a profile. Another option is the free [http://mozbackup.jasnapaka.com/ MozBackup] utility.

  • How do i export my entire address book into excel.  I want to send the list to lady who writes a newsletter for me and she would like it in excel.  I know I did this last christmas, but cannot remember how i did it.  Please help.

    How do i export my entire address book into excel.  I want to send the list to lady who writes a newsletter for me and she would like it in excel.  I know I did this last christmas, but cannot remember how i did it.  Please help.

    export and import to csv
    or here are other options
    http://www.google.dk/search?source=ig&hl=da&rlz=1G1TSEH_ENDK367&q=ohm+law&oq=ohm +law&aq=0&aqi=g3&aql=&gs_sm=e&gs_upl=848060l852340l0l853488l7l7l0l1l1l0l216l774l 1.2.2l5l0#sclient=psy-ab&hl=da&rlz=1G1TSEH_ENDK367&source=hp&q=export%20contacts %20to%20excel%20outlook%202010&pbx=1&oq=export%20contacts%20to%20exc&aq=1L&aqi=g -L4&aql=&gs_sm=sc&gs_upl=1097767l1103601l0l1106743l22l11l0l10l10l0l288l2210l1.4. 6l21l0&bav=on.2,or.r_gc.r_pw.,cf.osb&fp=a68934164527e931&biw=1631&bih=731&pf=p&p dl=300

  • How to export the data from an excel file to Oracle database by using macro

    Hi,
    I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this.
    can anybody please send me the code to create macros?
    Thanks in advance.
    Regards,
    Surendra.V

    There are several resources on the web, but you could start analyzing if this code fits your needs --> VBA Macro for Excel 2003 Export of Text File with Comma and Quote Delimiters.
    ~ Madrid

  • How to read a tab seperated data from a text file using utl_file

    Hi,
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....
    Thanks in advance...
    Naveen

    Naveen Nishad wrote:
    How to read a tab seperated data from a text file using utl_file...
    I know if we use UTL_FILE.get_line we can read the whole line...but i need to read the tab separated value separately.....If it's a text file then UTL_FILE will only allow you to read it a line at a time. It is then up to you to split that string up (search for split string on this forum for methods) into it's individual components.
    If the text file contains a standard structure on each line, i.e. it is a fixed delimited structure, then you could use external tables to read the data instead.

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How to retrieve data from an Excel file which is located on server

    hi everybody,
                    I am using SAP NWDS 2004s .     
                I have done an application on how to export the table data into an Excel .
    Now i want to get the data from an Excel file which is located in server and display that data which is in excel in a View for example a Sample view in Webdynpro  .
    In Sample view i took a uielement textview to display the data ....   
    can any one help how to procced further
    Thanks in advance
    Madhavi

    Options to read Excel data to WebDynpro context
    Reading Excel Sheet from Java without using any Framework
    Reading Multiple Sheets of Excel Sheet from Java
    Few Threads
    How to Display the content of Excel file into Webdynpro Table
    Is it possible to upload data from excel file(.xls)
    Re: How to export the data as integer into excel sheet?
    regards
       Vinod

  • How can I create multiple QR Codes from an Excel File?

    Hi there,
    I am currently trying to set up business cards with a QR Code on the back of each card. Therefore I have an excel spreadsheet, which contains all the data necessary for the business card like name, function, e-mail adress,... the data is then filled in automatically by using the standard function with tags for each column (e.g. table column name is filled in as <<name>> in the specific location on the business card and once executed it is matched with the data from the excel file).
    Is there anything which could help me to automate the personalization of the QR Codes?
    All the best

    For free? Not at the moment. CC does have the ability to create QR codes but only one at a time. In CS6 (perhaps earlier versions?), regular poster/advanced scripter Jongware devised a script to prepare a QR code but again, could only do one at a time.
    However, someone did build on Jongware's QR code to do this from an InDesign file that had the necessary information in tagged text boxes and would prepare QR codes accordingly. However, it would leave them in the InDesign file (e.g. not separate EPS/PDFs).
    So, a long workaround would be:
    install the script and read the thread on the adobe forums (jongware's QR code plus the additional improvement): http://forums.adobe.com/message/4787823#4787823
    data merge the current data into the indesign file using the similar structure as the fourth poster in that post had written
    once all the QR codes are written, create a PDF of the file and then use one of various methods to break up the PDF into single page files: http://colecandoo.wordpress.com/2013/07/13/breaking-up-is-hard-to-do-indesign-files-into-i ndividual-pdfs-that-is/
    It's a lot of work to generate multiple QR codes. A paid solution offered by either Meadows DPS or Woodwing (two companies I have no affiliation with whatsoever) or any other plug-in provider for that matter: http://www.adobe.com/products/indesign/indepth.displayTab3.html may be an alternative that is worth pursuing.

  • Help! How to read data from an Excel file?

    Hi,
    I need to read data from an Excel file that may contain more then one table in a sheet. How can I read them?
    I would be eternally grateful to anyone who can give me any information.

    Did you try POI from Apache?
    http://jakarta.apache.org/poi/index.html

Maybe you are looking for

  • How to debug a RFC function module remotely from another R/3 system?

    Hi experts,    I have RFC function module in one R/3 system. I am calling this from another R/3 system that is cross apps (Xapps).    This function module is Synchronous.   Is it possible to debug this function module from cross apps?   Can somebody

  • Solaris 8 does not boot in Intel Platform

    I got free Solaris 8 CD for Intel Platform. I installed it in a PC with Intel 133 cpu. It cannot boot up after it is installed. When I boot, it just keeps rebooting system and get an error says, "File Can not be synchronized". I know I made some mist

  • Lion: Weird behavior with two monitors.

    Intermittently, though very often, when a window is open in the secondary monitor (without menu bar), I cannot select items within the window - files (finder), emails (mail) or songs (iTunes). I cannot clear the problem except by moving the window to

  • Archive Utility Quit Unexpectedly

    Every time I try to unzip a file using Archive Utility, it says "Archive Utility Quit Unexpectedly". No, relaunching it does not do anything. I have restarted my computer to no prevail and several things I've tried on the internet do not work. Curren

  • Error Log

    Hi, We are using Oracle 10g AS. For debugging my application, I wanted to write few System.out.println()wherever required. But I was wondering on which log these println's would be written to. When I check Error log I see these messages [Thu Jul 29 0