SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
Introduction to
  SQL Server 2005
Reporting Services
   Tutorial / Sample Courseware Chapter




                    provided by Accelebrate
 http://www.accelebrate.com • info@accelebrate.com
             877 849 1850 phone • 866 566 1228 fax
Chapter 18: Reporting
 Services
In this chapter:
   •   The Reporting Services Architecture
   •   Using Report Designer
   •   Publishing a Report
   •   Using Report Builder
   •   Using Report Manager



Files needed:
   •   ProductReport1.zip
   •   ProductReport2.zip
   •   AWSales.zip
Reporting Services


For many years, SQL Server did not have a good answer for creating attractive
reports that summarize information in ways that make sense to business users.
Finally, Microsoft shipped SQL Server Reporting Services. Like Notification
Services, Reporting Services was originally an add-on for SQL Server 2000, and now
it’s a part of the core product. In this chapter, you’ll learn how to use Reporting
Services to produce your own reports.



The Reporting Services Architecture
For a relatively new product, Reporting Services has a quite complex architecture.
The full Reporting Services architecture includes development tools, administration
tools, and report viewers. There are a number of ways to get to Reporting Services
programmatically, including SOAP and WMI interfaces.
Figure 18-1 shows a simplified diagram of the main Reporting Services components
that we’ll be using in this chapter.




                                Figure 18-1: Report Server architecture

In this chapter you’ll learn about these components:

   •    Report Server is the core engine that drives Reporting Services.
   •    Report Manager is a Web-based administrative interface for Reporting
        Services.
   •    Report Designer is a developer tool for building complex reports.
   •    Report Builder is a simplified end-user tool for building reports.


Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005    http://www.accelebrate.com
                                                    18-2
Using Report Designer

   •    The Report Server database stores report definitions. Reports themselves can
        make use of data from many different data sources.



Using Report Designer
Reporting Services includes two tools for creating reports:

   •    Report Designer can create reports of any complexity that Reporting Services
        supports, but requires you to understand the structure of your data and to be
        able to navigate the Visual Studio user interface.
   •    Report Builder provides a simpler user interface for creating ad hoc reports,
        directed primarily at business users rather than developers. Report Builder
        requires a developer or administrator to set up a data model before end users
        can create reports.
We’ll start our tour of Reporting Services with Report Designer. Report Designer
runs inside the Business Intelligence Development Studio shell, and offers several
ways to create reports. You can either use the Report Wizard to quickly create a
report, or you can use a set of design tools to build a report from scratch. You can
also use the design tools to modify a report created with the wizard.

Using the Report Wizard
The easiest way to create a report in Report Designer is to use the Report Wizard.
Like all wizards, the Report Wizard walks you through the process in step-by-step
fashion. You can make the following choices in the wizard:

   •    The data source to use
   •    The query to use to retrieve data
   •    Whether to use a tabular or matrix layout for the report
   •    How to group the retrieved data
   •    What visual style to use
   •    Where to deploy the finished report



Try It!
To create a simple report using the Report Wizard, follow these steps:
 1.    Launch Business Intelligence Development Studio.
 2.    Select File New Project.
 3.    Select the Business Intelligence Projects project type.
 4.    Select the Report Server Project Wizard template.


Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005        http://www.accelebrate.com
                                                 18-3
Reporting Services

 5. Name the new report ProductReport1 and pick a convenient location to save it
     in.
 6. Click OK.
 7. Read the first page of the Report Wizard and click Next.
 8. Name the new data source AdventureWorksDS.
 9. Click the Edit button.
 10. Log on to your test server.
 11. Select the AdventureWorks database.
 12. Click OK.
 13. Click the Credentials button.
 14. Select Use Windows Authentication.
 15. Click OK.
 16. Check the Make This a Shared Data Source checkbox. This will make this
     particular data source available to other Reporting Services applications in the
     future.
 17. Click Next.
 18. Click the Query Builder button.
 19. If the full query designer interface does not display by default, click the query
     designer toolbar button at the far left end of the toolbar. Figure 18-2 shows the
     full query designer interface.




Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005   http://www.accelebrate.com
                                                 18-4
Using Report Designer




                                    Figure 18-2: Query Builder

 20. Click the Add Table toolbar button.
 21. Select the Product table and click Add.
 22. Click Close.
 23. Check the Name, ProductNumber, Color, and ListPrice columns.
 24. Click OK.
 25. Click Next.
 26. Select the Tabular layout and click Next.
 27. Move the Color column to the Group area, and the other three columns to the
     Detail area, as shown in Figure 18-3.




Copyright © 2005 Accelebrate, Inc    Introduction to SQL Server 2005        http://www.accelebrate.com
                                                  18-5
Reporting Services




                             Figure18-3: Grouping columns in the report

 28. Click Next.
 29. Select the Stepped layout and click Next.
 30. Select the Ocean style and click Next.
 31. Accept the default deployment location and click Next.
 32. Name the report ProductReport1.
 33. Check the Preview Report checkbox.
 34. Click Finish.
Figure 18-4 shows the finished report, open in Report Designer.




Copyright © 2005 Accelebrate, Inc     Introduction to SQL Server 2005     http://www.accelebrate.com
                                                   18-6
Using Report Designer




                          Figure 18-4: Report created by the Report Wizard

Figure 18-4 shows the main features of Report Designer:

   •    The Datasets window shows the data that is available to the report.
   •    The main design window lets you view the report itself. You can see a
        preview of the report, work with the report in a layout designer, or work with
        the query that returns the data for the report.
   •    The Solution Explorer, Output, and Properties windows are the standard
        Visual Studio windows.

Modifying a Report
Now that you’ve created a report with the Report Wizard, you can modify it with
the Report Designer. If you’ve used any sort of visual report design tool in the past,
you should have no problem making changes here. Among the possibilities here:



Copyright © 2005 Accelebrate, Inc     Introduction to SQL Server 2005        http://www.accelebrate.com
                                                   18-7
Reporting Services

   •    You can change the available data or the sort order for the report by
        modifying the query on the Data tab.
   •    You can resize or rearrange controls on the Layout tab.
   •    You can use the Properties window to change properties of individual
        controls including their font, alignment, colors, and so on.



Try It!
To modify the report that you just created, follow these steps:
 1.    Click the Data tab to view the query for the report.
 2.    Select a Descending sort type for the ListPrice column.
 3.    Click the Layout tab.
 4.    Click in the textbox at the top of the report, where the report name is displayed.
 5.    Use the Properties window to change the Value property of this control to
       Products By Color.
 6.    Click on the header for the Product column.
 7.    Place the cursor between the Name and Product Number columns to display a
       double-headed arrow. Hold down the mouse button and drag the cursor to the
       right to widen the Name column.
 8.    Place the cursor between the Product Number and ListPrice columns to display
       a double-headed arrow. Hold down the mouse button and drag the cursor to
       the right to widen the Product Number column.
 9.    Click on the Preview tab to view the modified report, as shown in Figure 18-5.




Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005   http://www.accelebrate.com
                                                 18-8
Using Report Designer




                                    Figure 18-5: Modified product report

Designing a Report From Scratch
You can also use Report Designer to build your own reports starting from scratch. In
general, you’ll follow these steps to create a report:
 1.   Create a Report project in Business Intelligence Design Studio.
 2.   Associate one or more datasets with the report.
 3.   Create a query from the dataset.
 4.   Build the report layout.



Try It!
To create a fresh report in Report Designer, follow these steps:
 1.   Select File Close Solution to close the existing report.
 2.   Select File New Project.
 3.   Select the Business Intelligence Projects project type.
 4.   Select the Report Server Project template.




Copyright © 2005 Accelebrate, Inc         Introduction to SQL Server 2005        http://www.accelebrate.com
                                                       18-9
Reporting Services

 5. Name the new report ProductReport2 and pick a convenient location to save it
     in.
 6. Right-click on the Reports node in Solution Explorer and select Add New
     Item.
 7. Select the Report template.
 8. Name the new report ProductReport2.rdl and click Add.
 9. Select the Data tab in the Report Designer.
 10. Click the Datasets dropdown and select <New Dataset> to open the Data
     Source dialog box.
 11. Name the new Data Source AdventureWorksDS.
 12. Click the Edit button.
 13. Connect to your test server and choose the AdventureWorks database.
 14. Click OK.
 15. Click OK again to create the data source.
 16. Click the Query Designer toolbar button inside the Data tab to display the full
     query designer user interface.
 17. Click the Add Table button.
 18. Select the Location table.
 19. Click Add.
 20. Click Close.
 21. Check the boxes for the Name and CostRate columns.
 22. Sort the dataset in ascending order by Name.
 23. Click the Layout tab to show the blank report layout.
 24. Hover your mouse over the toolbox tab to display the available controls for the
     report.
 25. Double-click the List control.
 26. Expand the List control to the width of the report.
 27. Expand the dataset in the Datasets window to show the column names.
 28. Drag the Name and CostRate columns from the Datasets window and drop
     them in the List control. Expand them horizontally until each takes up about
     half of the List control. Figure 18-6 shows the report in layout view.




Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005   http://www.accelebrate.com
                                                18-10
Publishing a Report




                             Figure 18-6: Designing a report from scratch

 29. Select the Preview tab to see the report with data.



Publishing a Report
Creating reports in Business Intelligence Development Studio is good for
developers, but it doesn’t help users at all. In order for the reports you build to be
available to others, you must publish them to your Reporting Services server. To
publish a report, you can use the Build and Deploy menu items in Business
Intelligence Development Studio. Before you do this, you need to check the project’s
configuration to make sure that you’ve selected an appropriate server for the
deployment.



Try It!
To publish a report, follow these steps:



Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005      http://www.accelebrate.com
                                                   18-11
Reporting Services

 1.   Close the ProductReport2 project.
 2.   Open the ProductReport1 project.
 3.   Select Project ProductReport1 Properties.
 4.   Click the Configuration Manager button.
 5.   Set the Active Solution Configuration to Production.
 6.   Make sure the Configuration is set to Production and both the Build and
      Deploy checkboxes are checked. Figure 18-7 shows the Configuration Manager.




                             Figure 18-7: Setting the active configuration

 7. Click Close.
 8. Fill in the URL for your Report Server. If you’re developing on the same
    computer where Reporting Services is installed, and you installed in the default
    configuration, this will be http://localhost/ReportServer. Figure 18-8 shows
    the completed Property Pages.




Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005       http://www.accelebrate.com
                                                   18-12
Publishing a Report




                             Figure 18-8: Setting report project properties

 9. Click OK.
 10. Select Build Deploy ProductReport1. The Output Window will track the
     progress of BIDS in deploying your report, as shown in Figure 18-9. Depending
     on the speed of your computer, building the report may take some time.




                                    Figure 18-9: Deploying a report

 11. Launch SQL Server Management Studio.
 12. Click the Connect button in Object Explorer and select Reporting Services.
 13. Connect to your test server.
 14. Expand the Home node in the Object Explorer tree to find the ProductReport1
     project.
 15. Expand the ProductReport1 project to find the ProductReport1 report.
 16. Right-click on the report and select View Report.


Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005        http://www.accelebrate.com
                                                   18-13
Reporting Services

 17. If prompted, supply your username and password. The report will open in
     your Web browser.



Using Report Builder
Report Designer gives you one way to create reports for Reporting Services, but it’s
not the only way. SQL Server 2005 also includes a tool directed at end users named
Report Builder. Unlike Report Designer, which is aimed at Developers, Report
Builder presents a simplified view of the report-building process and is intended for
business analysts and other end users.

Building a Data Model
Report Builder doesn’t let end users explore all of a SQL Server database. Instead, it
depends on a data model: a preselected group of tables and relationships that a
developer has identified as suitable for end-user reporting. To build a data model,
you use Business Intelligence Development Studio. Data models contain three
things:

   •    Data Sources connect the data model to actual data.
   •    Data Source Views draw data from data sources.
   •    Report Models contain entities that end users can use on reports.



Try It!
To create a data model, follow these steps:
 1.  If it’s not already open, launch Business Intelligence Development Studio
 2.  Select File New Project.
 3.  Select the Business Intelligence Projects project type.
 4.  Select the Report Model Project template.
 5.  Name the new project AWSales and save it in a convenient location.
 6.  Click OK.
 7.  Right-click on Data Sources in Solution Explorer and select Add New Data
     Source.
 8. Read the first page of the Add New Data Source Wizard and click Next.
 9. Click New.
 10. In the Connection Manager dialog box connect to the AdventureWorks
     database on your test server and click OK.
 11. Click Next.
 12. Name the new data source AdventureWorks and click Finish.


Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005   http://www.accelebrate.com
                                                18-14
Using Report Builder

 13. Right-click on Data Source Views in Solution Explorer and select Add New
     Data Source View.
 14. Read the first page of the Add New Data Source View Wizard and click Next.
 15. Select the AdventureWorks data source and click Next.
 16. Select the Production.Product table and click the > button to move it to the
     Included Objects listbox.
 17. Select the Sales.SalesOrderDetail table and click the > button to move it to the
     Included Objects listbox.
 18. Click the Add Related Tables button.
 19. Click Next.
 20. Click Finish.
 21. Right-click on Report Models in Solution Explorer and select Add New Report
     Model.
 22. Read the first page of the Report Model Wizard and click Next.
 23. Select the Adventure Works data source view and click Next.
 24. Keep the default rules selection, as shown in Figure 18-10, and click Next.




                        Figure 18-10: Creating entities for end-user reporting




Copyright © 2005 Accelebrate, Inc     Introduction to SQL Server 2005       http://www.accelebrate.com
                                                  18-15
Reporting Services

 25. Choose the Update Statistics option and click Next.
 26. Click Run to complete the wizard.
 27. Click Finish. If you get a warning that a file was modified outside the source
     editor, click Yes.
 28. Select Build Deploy AWSales to deploy the report model to the local
     Reporting Services server.

Building a Report
Report Builder itself is a ClickOnce Windows Forms application. That means that
end users install it from the browser, but once installed it's not a browser-based
application. To get started with Report Builder, browse to your Reporting Services
home page. Typically, this will have a URL such as
http://ServerName/Reports (or http://localhost/Reports if you're
running the browser on the same box with SQL Server 2005 itself). Figure 18-11
shows the Reporting Services home page.




                             Figure 18-11: Reporting Services home page

To install Report Builder, click the Report Builder link in the home page menu bar.
Report Builder will automatically load up all of the available report models and wait
for you to choose one to build a report from.




Copyright © 2005 Accelebrate, Inc     Introduction to SQL Server 2005     http://www.accelebrate.com
                                                  18-16
Using Report Builder

Try It!
 1. Open a browser window and navigate to http://localhost/Reports (or
    to the appropriate Report Server URL if you’re not working on the report
    server).
 2. Click the Report Builder link.
 3. Depending on your operating system, you may have to confirm that you want
    to run the application.
 4. After Report Builder is installed, select the AdventureWorks report model and
    the table report layout. Click OK. Figure 18-12 shows the new blank report that
    Report Builder will create.




                              Figure 18-12: New report in Report Builder




Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005      http://www.accelebrate.com
                                                   18-17
Reporting Services


                     The Explorer window to the left of the design surface shows all of
                     the tables in the report model. Beneath that, the Fields window
                     shows the entities in the currently-selected table. Note that not
                     everything in this window is a column in the table: the report
                     model also contains aggregate entities such as Total Safety Stock
                     Level and automatically calculated fields.

 5. Select the Product table.
 6. Drag the Name field and drop it in the area labeled Drag and Drop Column
     Fields.
 7. Click on Special Offer Products in the Explorer window to show related child
     tables.
 8. Click on Sales Order Details.
 9. Drag the Total Order Qty field and drop it to the right of the Name field.
 10. Click where it says Click to Add Title and type Product Sales.
 11. Click the Run Report button to produce the report shown in Figure 12-13.




Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005   http://www.accelebrate.com
                                                18-18
Using Report Builder




                                Figure 18-13: Report in Report Builder

 12. Click the Sort and Group toolbar button.
 13. Select to sort by Total Order Qty descending.
 14. Click OK.
 15. Select File Save.
 16. Name the new report Product Sales.
 17. Click Save. This will publish the report back to the Reporting Services server
     that you originally downloaded Report Builder from.


Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005      http://www.accelebrate.com
                                                   18-19
Reporting Services

Using Report Manager
The Web home page for Reporting Services provides a complete interface for
managing reports (as well as other objects such as data sources and models) after
they are created. This interface, known as Report Manager, is intended primarily for
database administrators, but as a developer you should know about its capabilities
for managing and modifying reports.
When you click on a report in Report Manager, you’ll see the report’s data, as shown
in Figure 18-14.




                                Figure 18-14: Report in Report Manager



Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005   http://www.accelebrate.com
                                                   18-20
Using Report Manager

Note that reports in Report Manager open in a tabbed interface. The four tabs allow
you to perform various functions:

   •    View allows you to see the current data in the report.
   •    Properties lets you adjust such things as the report’s name, data source,
        security credentials, caching, and end-user security.
   •    History shows you saved snapshots of the report.
   •    Subscriptions lets you create subscriptions to the report. Subscriptions allow
        you to set up periodic delivery of reports to end users by e-mail or file share.




Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005       http://www.accelebrate.com
                                                18-21
Reporting Services



Exercises
Use Report Builder to create a report from the AdventureWorks data model
showing the minimum and maximum order quantity for orders taken by each
salesperson in the company. You’ll find the necessary data in the SalesOrderHeader
and SalesOrderDetail tables.




Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005   http://www.accelebrate.com
                                                18-22
Solutions to Exercises



Solutions to Exercises
 1. Open a browser window and navigate to http://localhost/Reports (or
     to the appropriate Report Server URL if you’re not working on the report
     server).
 2. Click the Report Builder link.
 3. Select the AdventureWorks report model and the table report layout.
 4. Click OK.
 5. Select the Sales Order Header table.
 6. Drag the Sales Person ID field and drop it in the area labeled Drag and Drop
     Column Fields.
 7. Click on Sales Order Details in the Explorer window.
 8. Expand the Total Order Qty field in the Fields window to show the alternative
     fields beneath it.
 9. Drag the Min Order Qty field and drop it to the right of the Name field.
 10. Drag the Max Order Qty field and drop it to the right of the Min Order Qty
     field.
 11. Click where it says Click to Add Title and type Sales Performance.
 12. Click the Run Report button to produce the report shown in Figure 18-15.




Copyright © 2005 Accelebrate, Inc   Introduction to SQL Server 2005       http://www.accelebrate.com
                                                18-23
Reporting Services




                                Figure 18-15: Sales performance report




Copyright © 2005 Accelebrate, Inc      Introduction to SQL Server 2005   http://www.accelebrate.com
                                                   18-24

Mais conteúdo relacionado

Mais procurados

Generate Cross Tool Reports with Rational Publishing Engine
Generate Cross Tool Reports with Rational Publishing EngineGenerate Cross Tool Reports with Rational Publishing Engine
Generate Cross Tool Reports with Rational Publishing EngineBill Duncan
 
Bi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportBi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportketulp
 
Crystal report
Crystal reportCrystal report
Crystal reportEverywhere
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpslilylucy
 
Business Intelligence Technology Presentation
Business Intelligence Technology PresentationBusiness Intelligence Technology Presentation
Business Intelligence Technology PresentationJohn Paredes
 
Obiee11g building logical dimension hierarchy
Obiee11g building logical dimension hierarchyObiee11g building logical dimension hierarchy
Obiee11g building logical dimension hierarchyAmit Sharma
 
Building A Complex Birt Report
Building A Complex Birt ReportBuilding A Complex Birt Report
Building A Complex Birt Reportsvhovater
 
An Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards IntegrationAn Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards Integrationadivasoft
 
Item import in Product Data Hub
Item import in Product Data HubItem import in Product Data Hub
Item import in Product Data HubLarry Sherrod
 
Crystal Reports: Basics
Crystal Reports: BasicsCrystal Reports: Basics
Crystal Reports: BasicsNet at Work
 
OBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation StepsOBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation StepsDharmaraj Borse
 
Microsoft Dynamics CRM: Reporting and Dashboards
Microsoft Dynamics CRM: Reporting and DashboardsMicrosoft Dynamics CRM: Reporting and Dashboards
Microsoft Dynamics CRM: Reporting and DashboardsInfinity Info Systems
 
App builder
App builderApp builder
App builderbibis2
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design documentadivasoft
 
How to Create Oracle Fusion BI Publisher Report Using RTF Template
How to Create Oracle Fusion BI Publisher Report Using RTF TemplateHow to Create Oracle Fusion BI Publisher Report Using RTF Template
How to Create Oracle Fusion BI Publisher Report Using RTF TemplateFeras Ahmad
 
Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3Ali Raza Zaidi
 
Developer's guide to customization
Developer's guide to customizationDeveloper's guide to customization
Developer's guide to customizationAhmed Farag
 
R12 payables leverage desktop integrator
R12 payables   leverage desktop integratorR12 payables   leverage desktop integrator
R12 payables leverage desktop integratorSajid Rahim, MSc,PMP
 
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Sami JAMMALI
 

Mais procurados (20)

Generate Cross Tool Reports with Rational Publishing Engine
Generate Cross Tool Reports with Rational Publishing EngineGenerate Cross Tool Reports with Rational Publishing Engine
Generate Cross Tool Reports with Rational Publishing Engine
 
Bi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportBi publisher starter guide to develop first report
Bi publisher starter guide to develop first report
 
Crystal report
Crystal reportCrystal report
Crystal report
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumps
 
Business Intelligence Technology Presentation
Business Intelligence Technology PresentationBusiness Intelligence Technology Presentation
Business Intelligence Technology Presentation
 
Obiee11g building logical dimension hierarchy
Obiee11g building logical dimension hierarchyObiee11g building logical dimension hierarchy
Obiee11g building logical dimension hierarchy
 
Building A Complex Birt Report
Building A Complex Birt ReportBuilding A Complex Birt Report
Building A Complex Birt Report
 
An Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards IntegrationAn Introduction on BI Publisher & JD Edwards Integration
An Introduction on BI Publisher & JD Edwards Integration
 
Item import in Product Data Hub
Item import in Product Data HubItem import in Product Data Hub
Item import in Product Data Hub
 
Crystal Reports: Basics
Crystal Reports: BasicsCrystal Reports: Basics
Crystal Reports: Basics
 
Rtc user en
Rtc user enRtc user en
Rtc user en
 
OBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation StepsOBIEE 11g : Repository Creation Steps
OBIEE 11g : Repository Creation Steps
 
Microsoft Dynamics CRM: Reporting and Dashboards
Microsoft Dynamics CRM: Reporting and DashboardsMicrosoft Dynamics CRM: Reporting and Dashboards
Microsoft Dynamics CRM: Reporting and Dashboards
 
App builder
App builderApp builder
App builder
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
 
How to Create Oracle Fusion BI Publisher Report Using RTF Template
How to Create Oracle Fusion BI Publisher Report Using RTF TemplateHow to Create Oracle Fusion BI Publisher Report Using RTF Template
How to Create Oracle Fusion BI Publisher Report Using RTF Template
 
Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3
 
Developer's guide to customization
Developer's guide to customizationDeveloper's guide to customization
Developer's guide to customization
 
R12 payables leverage desktop integrator
R12 payables   leverage desktop integratorR12 payables   leverage desktop integrator
R12 payables leverage desktop integrator
 
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 05-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 

Destaque

Bhanu prasad profile
Bhanu prasad profileBhanu prasad profile
Bhanu prasad profileBhanu Prasad
 
Resueme Zunlin Wu
Resueme Zunlin WuResueme Zunlin Wu
Resueme Zunlin Wuzunlin wu
 
Thiruthuvadoss profile
Thiruthuvadoss profileThiruthuvadoss profile
Thiruthuvadoss profiledgtrinity
 
Stanley_Lee Resume LinkedIn
Stanley_Lee Resume LinkedInStanley_Lee Resume LinkedIn
Stanley_Lee Resume LinkedInStanley Lee
 
CTS a SANDIS Company
CTS a SANDIS CompanyCTS a SANDIS Company
CTS a SANDIS CompanyDavis Kantor
 
Ali Nawaz Ahmed - Lead DBA
Ali Nawaz Ahmed - Lead DBAAli Nawaz Ahmed - Lead DBA
Ali Nawaz Ahmed - Lead DBAali nawaz
 
Niranjan A Mandyam profile 2016
Niranjan A Mandyam profile 2016Niranjan A Mandyam profile 2016
Niranjan A Mandyam profile 2016Mandyam Niranjan
 

Destaque (9)

Bhanu prasad profile
Bhanu prasad profileBhanu prasad profile
Bhanu prasad profile
 
Resueme Zunlin Wu
Resueme Zunlin WuResueme Zunlin Wu
Resueme Zunlin Wu
 
Thiruthuvadoss profile
Thiruthuvadoss profileThiruthuvadoss profile
Thiruthuvadoss profile
 
Stanley_Lee Resume LinkedIn
Stanley_Lee Resume LinkedInStanley_Lee Resume LinkedIn
Stanley_Lee Resume LinkedIn
 
CTS a SANDIS Company
CTS a SANDIS CompanyCTS a SANDIS Company
CTS a SANDIS Company
 
MilanCV
MilanCVMilanCV
MilanCV
 
Ali Nawaz Ahmed - Lead DBA
Ali Nawaz Ahmed - Lead DBAAli Nawaz Ahmed - Lead DBA
Ali Nawaz Ahmed - Lead DBA
 
RESUME
RESUMERESUME
RESUME
 
Niranjan A Mandyam profile 2016
Niranjan A Mandyam profile 2016Niranjan A Mandyam profile 2016
Niranjan A Mandyam profile 2016
 

Semelhante a Ssrs tutorial

My First Report slide support
My First Report slide supportMy First Report slide support
My First Report slide supportSpagoWorld
 
Introduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP ReportingIntroduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP ReportingGurpreet singh
 
How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications Concetto Labs
 
crystalReport.pptx
crystalReport.pptxcrystalReport.pptx
crystalReport.pptxsamreen82
 
Reporting & Analytics.pdf
Reporting & Analytics.pdfReporting & Analytics.pdf
Reporting & Analytics.pdfBhavani Testone
 
Crystal%20 reports%202008%20reviewer's%20guide%20version%203
Crystal%20 reports%202008%20reviewer's%20guide%20version%203Crystal%20 reports%202008%20reviewer's%20guide%20version%203
Crystal%20 reports%202008%20reviewer's%20guide%20version%203Eric Kruis
 
Tips and tricks for creating cm14 reports white paper (1)
Tips and tricks for creating cm14 reports white paper (1)Tips and tricks for creating cm14 reports white paper (1)
Tips and tricks for creating cm14 reports white paper (1)p6academy
 
Tips and tricks for creating cm14 reports white paper
Tips and tricks for creating cm14 reports white paperTips and tricks for creating cm14 reports white paper
Tips and tricks for creating cm14 reports white paperp6academy
 
Tips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of TechniquesTips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of TechniquesSenturus
 
Accel_Series_2022Spring_En.pptx
Accel_Series_2022Spring_En.pptxAccel_Series_2022Spring_En.pptx
Accel_Series_2022Spring_En.pptxNTTDATA INTRAMART
 
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and TricksIBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and TricksSenturus
 
7200342 cognos-report-studio
7200342 cognos-report-studio7200342 cognos-report-studio
7200342 cognos-report-studiosarovar1
 
Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0Aishwarya Savant
 
Improving Business Agility through IBM Business Insight Advanced
Improving Business Agility through IBM Business Insight AdvancedImproving Business Agility through IBM Business Insight Advanced
Improving Business Agility through IBM Business Insight AdvancedDataClarity Corporation
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantSatyabratarath5
 

Semelhante a Ssrs tutorial (20)

My First Report slide support
My First Report slide supportMy First Report slide support
My First Report slide support
 
Introduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP ReportingIntroduction to Oracle Fusion BIP Reporting
Introduction to Oracle Fusion BIP Reporting
 
Rdlc (1)
Rdlc (1)Rdlc (1)
Rdlc (1)
 
How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications
 
crystalReport.pptx
crystalReport.pptxcrystalReport.pptx
crystalReport.pptx
 
Reporting & Analytics.pdf
Reporting & Analytics.pdfReporting & Analytics.pdf
Reporting & Analytics.pdf
 
Reporting & Analytics.pdf
Reporting & Analytics.pdfReporting & Analytics.pdf
Reporting & Analytics.pdf
 
crystal report
crystal reportcrystal report
crystal report
 
Crystal%20 reports%202008%20reviewer's%20guide%20version%203
Crystal%20 reports%202008%20reviewer's%20guide%20version%203Crystal%20 reports%202008%20reviewer's%20guide%20version%203
Crystal%20 reports%202008%20reviewer's%20guide%20version%203
 
Tips and tricks for creating cm14 reports white paper (1)
Tips and tricks for creating cm14 reports white paper (1)Tips and tricks for creating cm14 reports white paper (1)
Tips and tricks for creating cm14 reports white paper (1)
 
Tips and tricks for creating cm14 reports white paper
Tips and tricks for creating cm14 reports white paperTips and tricks for creating cm14 reports white paper
Tips and tricks for creating cm14 reports white paper
 
Tips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of TechniquesTips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
Tips for Beginning Cognos Report Studio Authors: Demonstration of Techniques
 
Accel_Series_2022Spring_En.pptx
Accel_Series_2022Spring_En.pptxAccel_Series_2022Spring_En.pptx
Accel_Series_2022Spring_En.pptx
 
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and TricksIBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
 
7200342 cognos-report-studio
7200342 cognos-report-studio7200342 cognos-report-studio
7200342 cognos-report-studio
 
Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0Actuate BIRT best practices v1 0
Actuate BIRT best practices v1 0
 
Improving Business Agility through IBM Business Insight Advanced
Improving Business Agility through IBM Business Insight AdvancedImproving Business Agility through IBM Business Insight Advanced
Improving Business Agility through IBM Business Insight Advanced
 
Power bi slide share pdf it is a very important
Power bi slide share pdf it is a very importantPower bi slide share pdf it is a very important
Power bi slide share pdf it is a very important
 
PowerBI Embedded in D365 Finance and Operations
PowerBI Embedded in D365 Finance and OperationsPowerBI Embedded in D365 Finance and Operations
PowerBI Embedded in D365 Finance and Operations
 
Crystal report
Crystal reportCrystal report
Crystal report
 

Último

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Último (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 

Ssrs tutorial

  • 1. Introduction to SQL Server 2005 Reporting Services Tutorial / Sample Courseware Chapter provided by Accelebrate http://www.accelebrate.com • info@accelebrate.com 877 849 1850 phone • 866 566 1228 fax
  • 2. Chapter 18: Reporting Services In this chapter: • The Reporting Services Architecture • Using Report Designer • Publishing a Report • Using Report Builder • Using Report Manager Files needed: • ProductReport1.zip • ProductReport2.zip • AWSales.zip
  • 3. Reporting Services For many years, SQL Server did not have a good answer for creating attractive reports that summarize information in ways that make sense to business users. Finally, Microsoft shipped SQL Server Reporting Services. Like Notification Services, Reporting Services was originally an add-on for SQL Server 2000, and now it’s a part of the core product. In this chapter, you’ll learn how to use Reporting Services to produce your own reports. The Reporting Services Architecture For a relatively new product, Reporting Services has a quite complex architecture. The full Reporting Services architecture includes development tools, administration tools, and report viewers. There are a number of ways to get to Reporting Services programmatically, including SOAP and WMI interfaces. Figure 18-1 shows a simplified diagram of the main Reporting Services components that we’ll be using in this chapter. Figure 18-1: Report Server architecture In this chapter you’ll learn about these components: • Report Server is the core engine that drives Reporting Services. • Report Manager is a Web-based administrative interface for Reporting Services. • Report Designer is a developer tool for building complex reports. • Report Builder is a simplified end-user tool for building reports. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-2
  • 4. Using Report Designer • The Report Server database stores report definitions. Reports themselves can make use of data from many different data sources. Using Report Designer Reporting Services includes two tools for creating reports: • Report Designer can create reports of any complexity that Reporting Services supports, but requires you to understand the structure of your data and to be able to navigate the Visual Studio user interface. • Report Builder provides a simpler user interface for creating ad hoc reports, directed primarily at business users rather than developers. Report Builder requires a developer or administrator to set up a data model before end users can create reports. We’ll start our tour of Reporting Services with Report Designer. Report Designer runs inside the Business Intelligence Development Studio shell, and offers several ways to create reports. You can either use the Report Wizard to quickly create a report, or you can use a set of design tools to build a report from scratch. You can also use the design tools to modify a report created with the wizard. Using the Report Wizard The easiest way to create a report in Report Designer is to use the Report Wizard. Like all wizards, the Report Wizard walks you through the process in step-by-step fashion. You can make the following choices in the wizard: • The data source to use • The query to use to retrieve data • Whether to use a tabular or matrix layout for the report • How to group the retrieved data • What visual style to use • Where to deploy the finished report Try It! To create a simple report using the Report Wizard, follow these steps: 1. Launch Business Intelligence Development Studio. 2. Select File New Project. 3. Select the Business Intelligence Projects project type. 4. Select the Report Server Project Wizard template. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-3
  • 5. Reporting Services 5. Name the new report ProductReport1 and pick a convenient location to save it in. 6. Click OK. 7. Read the first page of the Report Wizard and click Next. 8. Name the new data source AdventureWorksDS. 9. Click the Edit button. 10. Log on to your test server. 11. Select the AdventureWorks database. 12. Click OK. 13. Click the Credentials button. 14. Select Use Windows Authentication. 15. Click OK. 16. Check the Make This a Shared Data Source checkbox. This will make this particular data source available to other Reporting Services applications in the future. 17. Click Next. 18. Click the Query Builder button. 19. If the full query designer interface does not display by default, click the query designer toolbar button at the far left end of the toolbar. Figure 18-2 shows the full query designer interface. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-4
  • 6. Using Report Designer Figure 18-2: Query Builder 20. Click the Add Table toolbar button. 21. Select the Product table and click Add. 22. Click Close. 23. Check the Name, ProductNumber, Color, and ListPrice columns. 24. Click OK. 25. Click Next. 26. Select the Tabular layout and click Next. 27. Move the Color column to the Group area, and the other three columns to the Detail area, as shown in Figure 18-3. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-5
  • 7. Reporting Services Figure18-3: Grouping columns in the report 28. Click Next. 29. Select the Stepped layout and click Next. 30. Select the Ocean style and click Next. 31. Accept the default deployment location and click Next. 32. Name the report ProductReport1. 33. Check the Preview Report checkbox. 34. Click Finish. Figure 18-4 shows the finished report, open in Report Designer. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-6
  • 8. Using Report Designer Figure 18-4: Report created by the Report Wizard Figure 18-4 shows the main features of Report Designer: • The Datasets window shows the data that is available to the report. • The main design window lets you view the report itself. You can see a preview of the report, work with the report in a layout designer, or work with the query that returns the data for the report. • The Solution Explorer, Output, and Properties windows are the standard Visual Studio windows. Modifying a Report Now that you’ve created a report with the Report Wizard, you can modify it with the Report Designer. If you’ve used any sort of visual report design tool in the past, you should have no problem making changes here. Among the possibilities here: Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-7
  • 9. Reporting Services • You can change the available data or the sort order for the report by modifying the query on the Data tab. • You can resize or rearrange controls on the Layout tab. • You can use the Properties window to change properties of individual controls including their font, alignment, colors, and so on. Try It! To modify the report that you just created, follow these steps: 1. Click the Data tab to view the query for the report. 2. Select a Descending sort type for the ListPrice column. 3. Click the Layout tab. 4. Click in the textbox at the top of the report, where the report name is displayed. 5. Use the Properties window to change the Value property of this control to Products By Color. 6. Click on the header for the Product column. 7. Place the cursor between the Name and Product Number columns to display a double-headed arrow. Hold down the mouse button and drag the cursor to the right to widen the Name column. 8. Place the cursor between the Product Number and ListPrice columns to display a double-headed arrow. Hold down the mouse button and drag the cursor to the right to widen the Product Number column. 9. Click on the Preview tab to view the modified report, as shown in Figure 18-5. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-8
  • 10. Using Report Designer Figure 18-5: Modified product report Designing a Report From Scratch You can also use Report Designer to build your own reports starting from scratch. In general, you’ll follow these steps to create a report: 1. Create a Report project in Business Intelligence Design Studio. 2. Associate one or more datasets with the report. 3. Create a query from the dataset. 4. Build the report layout. Try It! To create a fresh report in Report Designer, follow these steps: 1. Select File Close Solution to close the existing report. 2. Select File New Project. 3. Select the Business Intelligence Projects project type. 4. Select the Report Server Project template. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-9
  • 11. Reporting Services 5. Name the new report ProductReport2 and pick a convenient location to save it in. 6. Right-click on the Reports node in Solution Explorer and select Add New Item. 7. Select the Report template. 8. Name the new report ProductReport2.rdl and click Add. 9. Select the Data tab in the Report Designer. 10. Click the Datasets dropdown and select <New Dataset> to open the Data Source dialog box. 11. Name the new Data Source AdventureWorksDS. 12. Click the Edit button. 13. Connect to your test server and choose the AdventureWorks database. 14. Click OK. 15. Click OK again to create the data source. 16. Click the Query Designer toolbar button inside the Data tab to display the full query designer user interface. 17. Click the Add Table button. 18. Select the Location table. 19. Click Add. 20. Click Close. 21. Check the boxes for the Name and CostRate columns. 22. Sort the dataset in ascending order by Name. 23. Click the Layout tab to show the blank report layout. 24. Hover your mouse over the toolbox tab to display the available controls for the report. 25. Double-click the List control. 26. Expand the List control to the width of the report. 27. Expand the dataset in the Datasets window to show the column names. 28. Drag the Name and CostRate columns from the Datasets window and drop them in the List control. Expand them horizontally until each takes up about half of the List control. Figure 18-6 shows the report in layout view. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-10
  • 12. Publishing a Report Figure 18-6: Designing a report from scratch 29. Select the Preview tab to see the report with data. Publishing a Report Creating reports in Business Intelligence Development Studio is good for developers, but it doesn’t help users at all. In order for the reports you build to be available to others, you must publish them to your Reporting Services server. To publish a report, you can use the Build and Deploy menu items in Business Intelligence Development Studio. Before you do this, you need to check the project’s configuration to make sure that you’ve selected an appropriate server for the deployment. Try It! To publish a report, follow these steps: Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-11
  • 13. Reporting Services 1. Close the ProductReport2 project. 2. Open the ProductReport1 project. 3. Select Project ProductReport1 Properties. 4. Click the Configuration Manager button. 5. Set the Active Solution Configuration to Production. 6. Make sure the Configuration is set to Production and both the Build and Deploy checkboxes are checked. Figure 18-7 shows the Configuration Manager. Figure 18-7: Setting the active configuration 7. Click Close. 8. Fill in the URL for your Report Server. If you’re developing on the same computer where Reporting Services is installed, and you installed in the default configuration, this will be http://localhost/ReportServer. Figure 18-8 shows the completed Property Pages. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-12
  • 14. Publishing a Report Figure 18-8: Setting report project properties 9. Click OK. 10. Select Build Deploy ProductReport1. The Output Window will track the progress of BIDS in deploying your report, as shown in Figure 18-9. Depending on the speed of your computer, building the report may take some time. Figure 18-9: Deploying a report 11. Launch SQL Server Management Studio. 12. Click the Connect button in Object Explorer and select Reporting Services. 13. Connect to your test server. 14. Expand the Home node in the Object Explorer tree to find the ProductReport1 project. 15. Expand the ProductReport1 project to find the ProductReport1 report. 16. Right-click on the report and select View Report. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-13
  • 15. Reporting Services 17. If prompted, supply your username and password. The report will open in your Web browser. Using Report Builder Report Designer gives you one way to create reports for Reporting Services, but it’s not the only way. SQL Server 2005 also includes a tool directed at end users named Report Builder. Unlike Report Designer, which is aimed at Developers, Report Builder presents a simplified view of the report-building process and is intended for business analysts and other end users. Building a Data Model Report Builder doesn’t let end users explore all of a SQL Server database. Instead, it depends on a data model: a preselected group of tables and relationships that a developer has identified as suitable for end-user reporting. To build a data model, you use Business Intelligence Development Studio. Data models contain three things: • Data Sources connect the data model to actual data. • Data Source Views draw data from data sources. • Report Models contain entities that end users can use on reports. Try It! To create a data model, follow these steps: 1. If it’s not already open, launch Business Intelligence Development Studio 2. Select File New Project. 3. Select the Business Intelligence Projects project type. 4. Select the Report Model Project template. 5. Name the new project AWSales and save it in a convenient location. 6. Click OK. 7. Right-click on Data Sources in Solution Explorer and select Add New Data Source. 8. Read the first page of the Add New Data Source Wizard and click Next. 9. Click New. 10. In the Connection Manager dialog box connect to the AdventureWorks database on your test server and click OK. 11. Click Next. 12. Name the new data source AdventureWorks and click Finish. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-14
  • 16. Using Report Builder 13. Right-click on Data Source Views in Solution Explorer and select Add New Data Source View. 14. Read the first page of the Add New Data Source View Wizard and click Next. 15. Select the AdventureWorks data source and click Next. 16. Select the Production.Product table and click the > button to move it to the Included Objects listbox. 17. Select the Sales.SalesOrderDetail table and click the > button to move it to the Included Objects listbox. 18. Click the Add Related Tables button. 19. Click Next. 20. Click Finish. 21. Right-click on Report Models in Solution Explorer and select Add New Report Model. 22. Read the first page of the Report Model Wizard and click Next. 23. Select the Adventure Works data source view and click Next. 24. Keep the default rules selection, as shown in Figure 18-10, and click Next. Figure 18-10: Creating entities for end-user reporting Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-15
  • 17. Reporting Services 25. Choose the Update Statistics option and click Next. 26. Click Run to complete the wizard. 27. Click Finish. If you get a warning that a file was modified outside the source editor, click Yes. 28. Select Build Deploy AWSales to deploy the report model to the local Reporting Services server. Building a Report Report Builder itself is a ClickOnce Windows Forms application. That means that end users install it from the browser, but once installed it's not a browser-based application. To get started with Report Builder, browse to your Reporting Services home page. Typically, this will have a URL such as http://ServerName/Reports (or http://localhost/Reports if you're running the browser on the same box with SQL Server 2005 itself). Figure 18-11 shows the Reporting Services home page. Figure 18-11: Reporting Services home page To install Report Builder, click the Report Builder link in the home page menu bar. Report Builder will automatically load up all of the available report models and wait for you to choose one to build a report from. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-16
  • 18. Using Report Builder Try It! 1. Open a browser window and navigate to http://localhost/Reports (or to the appropriate Report Server URL if you’re not working on the report server). 2. Click the Report Builder link. 3. Depending on your operating system, you may have to confirm that you want to run the application. 4. After Report Builder is installed, select the AdventureWorks report model and the table report layout. Click OK. Figure 18-12 shows the new blank report that Report Builder will create. Figure 18-12: New report in Report Builder Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-17
  • 19. Reporting Services The Explorer window to the left of the design surface shows all of the tables in the report model. Beneath that, the Fields window shows the entities in the currently-selected table. Note that not everything in this window is a column in the table: the report model also contains aggregate entities such as Total Safety Stock Level and automatically calculated fields. 5. Select the Product table. 6. Drag the Name field and drop it in the area labeled Drag and Drop Column Fields. 7. Click on Special Offer Products in the Explorer window to show related child tables. 8. Click on Sales Order Details. 9. Drag the Total Order Qty field and drop it to the right of the Name field. 10. Click where it says Click to Add Title and type Product Sales. 11. Click the Run Report button to produce the report shown in Figure 12-13. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-18
  • 20. Using Report Builder Figure 18-13: Report in Report Builder 12. Click the Sort and Group toolbar button. 13. Select to sort by Total Order Qty descending. 14. Click OK. 15. Select File Save. 16. Name the new report Product Sales. 17. Click Save. This will publish the report back to the Reporting Services server that you originally downloaded Report Builder from. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-19
  • 21. Reporting Services Using Report Manager The Web home page for Reporting Services provides a complete interface for managing reports (as well as other objects such as data sources and models) after they are created. This interface, known as Report Manager, is intended primarily for database administrators, but as a developer you should know about its capabilities for managing and modifying reports. When you click on a report in Report Manager, you’ll see the report’s data, as shown in Figure 18-14. Figure 18-14: Report in Report Manager Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-20
  • 22. Using Report Manager Note that reports in Report Manager open in a tabbed interface. The four tabs allow you to perform various functions: • View allows you to see the current data in the report. • Properties lets you adjust such things as the report’s name, data source, security credentials, caching, and end-user security. • History shows you saved snapshots of the report. • Subscriptions lets you create subscriptions to the report. Subscriptions allow you to set up periodic delivery of reports to end users by e-mail or file share. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-21
  • 23. Reporting Services Exercises Use Report Builder to create a report from the AdventureWorks data model showing the minimum and maximum order quantity for orders taken by each salesperson in the company. You’ll find the necessary data in the SalesOrderHeader and SalesOrderDetail tables. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-22
  • 24. Solutions to Exercises Solutions to Exercises 1. Open a browser window and navigate to http://localhost/Reports (or to the appropriate Report Server URL if you’re not working on the report server). 2. Click the Report Builder link. 3. Select the AdventureWorks report model and the table report layout. 4. Click OK. 5. Select the Sales Order Header table. 6. Drag the Sales Person ID field and drop it in the area labeled Drag and Drop Column Fields. 7. Click on Sales Order Details in the Explorer window. 8. Expand the Total Order Qty field in the Fields window to show the alternative fields beneath it. 9. Drag the Min Order Qty field and drop it to the right of the Name field. 10. Drag the Max Order Qty field and drop it to the right of the Min Order Qty field. 11. Click where it says Click to Add Title and type Sales Performance. 12. Click the Run Report button to produce the report shown in Figure 18-15. Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-23
  • 25. Reporting Services Figure 18-15: Sales performance report Copyright © 2005 Accelebrate, Inc Introduction to SQL Server 2005 http://www.accelebrate.com 18-24