this procedure to make a copy of the Reporting Services 2005 sample OLAP report, Sales Reason Comparisons.
Using a copy of an existing sample
report within a practice exercise allows us to get quickly to the procedure
that forms the focus of an article. We can therefore avoid the lengthy
preparation that might be required to simply create a realistic setting within
which to work with a specific report component. Creating a clone of a report means we can make
changes to a fully functional copy while retaining the original sample in a
pristine state for other purposes, such as using it to accompany relevant
sections of the Books Online, and other documentation, as a part of
learning more about Reporting Services.
within the open Adventure Works Reports Sample project, in the SQL Server Business Intelligence
take the following steps:
the Reports folder underneath the Shared Data Sources folder, in
the Solution Explorer.
-> Existing Item ... from the cascading context menus
that appear, as shown in Illustration 1.
Illustration 1: Adding
the Report to the Project ...
Existing Item AdventureWorks Sample Reports dialog appears.
the actual location
of the sample reports, if the dialog has not defaulted thereto already.
NOTE: The sample reports are installed, by default (and, therefore, subject
to be installed in a different location on our individual machines), in the
Files\Microsoft SQL Server\90\Samples\Reporting Services\Report
Samples\AdventureWorks Sample Reports
example of the Add Existing Item AdventureWorks Sample Reports dialog,
having been pointed to the sample Reports folder (which contains the Sales
Reason Comparisons report file we seek), appears as partially shown in Illustration 2.
Navigating to the Sample Reports Folder ...
the Sales Reason Comparisons report inside the dialog.
from the context menu that appears, as depicted in Illustration 3.
Performing a Quick Copy of the Sales Reason Comparisons Report
somewhere in the white space inside the Add Existing Item AdventureWorks Sample Reports dialog.
from the context menu that appears, as shown in Illustration 4.
Illustration 4: Select
Paste within the New Folder ...
of the Sales Reason Comparisons report appears within the dialog.
the new file.
from the context menu that appears.
following name in place of the highlighted existing name:
NOTE: Be sure to include the .rdl extension in the file name.
renamed copy of the Sales Reason Comparisons sample report appears as
depicted in Illustration 5.
Illustration 5: The
New Report File, DBJ_OLAP_Report.rdl
white space to the right of the file name, to accept the new name we have
new file by clicking it.
on the dialog box to add the new report to report project AdventureWorks Sample
DBJ_OLAP_Report.rdl appears in the Reports folder,
within the AdventureWorks
Sample Reports project tree in the Solution Explorer, as shown in
Illustration 6: The New
Report Appears in Solution Explorer Report Folder
Right-click DBJ_OLAP_Report.rdl within
the Solution Explorer.
from the context menu that appears, as depicted in Illustration 7.
Illustration 7: Opening
the New Report ...
DBJ_OLAP_Report.rdl opens in Layout view, and
appears as shown in Illustration
Illustration 8: Our
Report Opens in Layout View ...
preview the report, so as to get a feel for its general operation prior to
performing our enhancements.
Click the Preview
tab to execute DBJ_OLAP_Report.rdl.
begins (the report initially executes with the default parameter setting). Once
executed, the report appears as depicted in Illustration 9.
Illustration 9: The
Report Appears with Default Parameter Selection
Click the Layout
tab to return to the Layout view.
Select the File
-> Save All from the main menu, to save our
work, as shown in Illustration 10.
Illustration 10: Saving
Our Work ...
have a basic OLAP report file within our Reporting Services 2005 project,
within which we can perform the various steps that form the subject focus of