Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create an Excel Report from an Existing RDL

This tutorial will help you design your first report in Excel using the OfficeWriter for Excel Designer from an existing report file (RDL) that was created in Visual Studio or Report Builder. We will build a simple employee list and display some basic information about each employee.

Info
titleTutorial Requirements:
  1. Reporting Services is installed on a server you can access, working properly, and you have rights to publish and view reports.
  2. The AdventureWorks data base (which is an optional component in the Reporting Services installation) is installed on the Reporting Services server.
  3. OfficeWriter is installed on the Report Server
  4. OfficeWriter Designer is installed on your local PC

For more information on installing and configuring OfficeWriter Reporting Services Integration, see Installation or contact your System Administrator.

OfficeWriter Designer Toolbar

The control center for creating reports with OfficeWriter is the OfficeWriter Designer toolbar. When you open Excel, you will the OfficeWriter Designer tab in the ribbon.

...

  • Make sure that you ran the installer for the OfficeWriter Designer, which is a separate installer from OfficeWriter.
  • If you do not see the toolbar after running the installer, the toolbar may have been disabled. Please see this OfficeWriter Answers Post for more information.

Opening a Report File

An a RDL file is an xml-based report definition file. In this tutorial we will assume the RDL was created in Visual Studio or Report Builder. If you are interested in creating RDLs with the OfficeWriter Designer, read 8.1 - Using MS Query in Excel to Design Reports.

  1. Open Microsoft Excel
    # Go to the OfficeWriter Designer tab and click Open Report
    # If your report defintion file was saved on a local or network drive, navigate to the folder containing the file, select it, click Open, and continue to Adding Fields to your report
    If your RDL file was deployed to Reporting Services, click the Retrieve on the bottom right corner of the dialog box.
    !xlw_FirstfromRDL1.jpg!
    # In the Report Browser dialog box, type in your report server's URL or Domain name and click Refresh. This will load all the available report folders into the list box. Navigate to your report file, select it, and click Ok.
    !xlw_FirstfromRDL2.jpg!

Adding Fields to Your Report

When you open the report, the Designer parses the RDL for information about the data sets and makes that information available while you are working in Excel. Data sets will appear in a drop-down list and you will be able to insert fields from those data sets into the Excel template as data placeholders called data markers.

...

Your finished report template should look like this:

Publish and View Your Report

Before publishing the report on the Reporting Services server, we must save the Excel template locally as an RDL file.

...

  1. Open a browser and go to the Reporting Services Report Manager (usually installed at http://<server address>/Reports).
    # Navigate to where you published your report.
    # Select the report. Reporting Sevices will display the report but only show you the data set.
    # From the export option drop-down, choose Excel designed by OfficeWriter.
    # When prompted, click Open . Excel will open and display your report the way you created it.

Samples

Download the .rdl file described in this tutorial.