Presentation is loading. Please wait.

Presentation is loading. Please wait.

DAT235 Authoring Reports Using SQL Server 2000 Reporting Services Brian Welcker Group Program Manager SQL Server Business Intelligence Microsoft Corporation.

Similar presentations


Presentation on theme: "DAT235 Authoring Reports Using SQL Server 2000 Reporting Services Brian Welcker Group Program Manager SQL Server Business Intelligence Microsoft Corporation."— Presentation transcript:

1 DAT235 Authoring Reports Using SQL Server 2000 Reporting Services Brian Welcker Group Program Manager SQL Server Business Intelligence Microsoft Corporation

2 Goals Discuss key report definition features Demonstrate the report designer Not an exhaustive tour of report features Prerequisite: Reporting Services Overview

3 Creating A Report Report Designer hosted in Visual Studio.NET 2003 Two ways to start Report wizard Blank report Or…write an XML file in your favorite editor Coming soon: 3rd party tools

4 Report Designer Wizard Jason Carlson Product Unit Manager SQL Server Business Intelligence Microsoft demo demo

5 Layout Basics Free-form Layout Similar to laying out a form Not intrinsically banded but banding can be simulated Some report items expand at run-time, pushing other items Report items may be nested within containing report items Page Breaks Both logical and physical page breaks are supported Optional page headers and footers

6 Report Items Textbox Image Line Rectangle ActiveX Control Subreport Data Regions (List, Table, Matrix, Chart) $100,000

7 Item Properties All Report Items Background Color* Background Image* Border Color* Border Style* Border Width* Color* Padding* Textboxes Can Grow Font Family* Font Size* Font Style* Font Weight* Format* Hide Duplicates Line Height* Text Align* Text Decoration* Vertical Align* *Expressions

8 Lists Repeating regions with freeform layout Similar to “bands” in other report writers But multiple lists can sit side-by-side! Lists inside lists to get multiple levels of grouping Use for complex repeating areas Brian Jason Steve $10,000 $20,000 $30,000

9 Tables Like lists withcolumns Fixed columns, repeating rows Table cells can span columns Multiple table rows per record Table cells can contain any report item Faster and smaller than lists Easier to align items Use for most reports PersonRegionSales BrianNorth$10,000 DanNorth$20,000 TotalNorth$30,000 SteveEast$50,000 TotalEast$50,000 Grand Total$80,000

10 Matrices Repeats in row and column directions Also known as pivot table or cross tab Arbitrary formatting in headers Different formatting for subtotals Matrix cells can contain any report item Use when column headings are records in your data Sales200020012002 Brian$100$110$120 Jason$200$250$300 Steve$300$400$300 Total $600$760$720

11 Charts Data from fields in the data set or from expressions Full set of chart properties and types Uses Office Web Components chart

12 Designing Reports Jason Carlson Product Unit Manager SQL Server Business Intelligence Microsoft demo demo

13 Expressions Most properties take expressions Expressions use VisualBasic.NET syntax Values from the data sets Values of other items on the report Values of global properties and user properties Aggregates: Sum, Avg, Count, Min, First, etc. Examples =Fields!Name.Value =Fields!First.Value & " " & Fields!Last.Value =Sum(Fields!Sales.Value) =IIF(Sum(Fields!Sales.Value)>10, "green", "red")

14 Parameters Report parameters can be used in report expressions (including binding to query parameters) Set of valid values and default values can be static or query-based Parameters can be hierarchical Selection of parameter value can drive later valid values Accessed using global Parameters collection, e.g. =IIF(Fields!Sales.Value > Parameters!Goal.Value, “PASS", “FAIL")

15 Making Reports Interactive Actions can be added to report items Drill down within a report Drill through to a different report Bookmarks jump within a report Hyperlinks any web page Document map shows report structure

16 Adding Interactivity Jason Carlson Product Unit Manager SQL Server Business Intelligence Microsoft demo demo

17 Working With Data Multiple data sets from multiple data sources on one report Supported data sources SQL Server (7.0, 2000, Yukon) Analysis Services (2000 w/XML/A, Yukon) OLE DB, ODBC, Oracle, other.NET data providers Query builder in Report Designer for SQL Server and OLE DB Or write your queries by hand Query parameters can be exposed as report parameters

18 Working With Data Jason Carlson Product Unit Manager SQL Server Business Intelligence Microsoft demo demo

19 Code Libraries Assemblies can be added to report to provide user-defined functions Build any code in Visual Studio.NET Language Expressions can refer to functions

20 Deploying A Report Project Copies reports, images, and data sources to report server After you deploy Set security permissions Set up caching and scheduled execution Set up scheduled history

21 Importing Reports Microsoft Access XP only Charts and code-behind are not imported Redesign your top reports to use Reporting Services features, especially table and matrix

22 Report Definition Language Reports are written in Report Definition Language (RDL) Extensible XML format XSD schema available for design preview Custom tags can be passed through to rendering extensions

23 Next Steps Online Session Evaluations! Signup for Reporting Services Beta Public Beta in Late Summer Signup on http://www.microsoft.com/sql http://www.microsoft.com/sql RTM by end of 2003

24 Additional Resources Visit the “Ask the Experts” area for follow up questions Attend the Reporting Services sessions at Tech  Ed DBA230 – Introducing SQL Server 2000 Reporting Services DAT235 – Authoring reports using SQL Server 2000 Reporting Services DBA331 – Managing a Microsoft SQL Server 2000 Reporting Services implementation Hands-On Lab HOL03 – SQL Server Reporting Services

25 Community Resources http://www.microsoft.com/communities/default.mspx Most Valuable Professional (MVP) http://www.mvp.support.microsoft.com/ Newsgroups Converse online with Microsoft Newsgroups, including Worldwide http://www.microsoft.com/communities/newsgroups/default.mspx User Groups Meet and learn with your peers http://www.microsoft.com/communities/usergroups/default.mspx

26 evaluations evaluations

27 © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "DAT235 Authoring Reports Using SQL Server 2000 Reporting Services Brian Welcker Group Program Manager SQL Server Business Intelligence Microsoft Corporation."

Similar presentations


Ads by Google