DAT 407 Advanced Report Authoring With SQL Server Reporting Services Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft.

Slides:



Advertisements
Similar presentations
Chapter 10 Excel: Data Handling or What do we do with all that data?
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Run with PC speaker on for narrative Welcome to the Narrated Guided Tour of Cizer.Net Reporting for Microsoft SQL Server Reporting Services
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 2Creating Forms and Reports Chapter 6Creating Reports and Mailing Labels.
© 2007 by Prentice Hall10-1 Introduction to Oracle 10g Chapter 10 Creating and Modifying Reports James Perry and Gerald Post.
® Microsoft Office 2010 Word Tutorial 3 Creating a Multiple-Page Report.
Microsoft Access 2013 ®® Tutorial 7 Creating Custom Reports.
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Access 2010 by Robert Grauer, Keith Mast,
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Reporting In Visual Studio 2005 An in-depth look at Reporting Internals Vijay Shandilya Software Engineer.NET Elite Team Aithent Technology.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 5 1 Microsoft Office Excel 2003 Tutorial 5 – Working With Excel Lists.
Developing Effective Reports
04 | Building Stellar Data Visualizations Using Power View.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Chris Baldwin Program Manager Microsoft Corporation Session Code: DAT201.
Tutorial 11: Connecting to External Data
SQL Server 2000: Report Authoring with SQL Server Reporting Services Peter Blackburn Book: ‘Hitchhiker’s Guide to SQL Server 2000 Reporting Services’ Windows.
Presenter notes: This Microsoft Excel presentation is a prepackaged solution for basic Excel training. You may use the presentation as-is or customize.
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
XP 1 Microsoft Office Excel 2003 Tutorial 3 – Working With Excel Lists.
DBA230 Introducing SQL Server 2000 Reporting Services Jason Carlson Product Unit Manager SQL Server Microsoft Corporation.
Developing Effective Reports
SQL Server Reporting Services London Database Developer Forum Anoop Patel.
Introducing Reporting Services for SQL Server 2005.
ARC312 Tools For Architecture: Designing For Deployment Alex Torone Program Manager Microsoft Corporation Bill.
Developing Reporting Solutions with SQL Server
TATA CONSULTANCY SERVICES
Inside Crystal Reports 7 for DataFlex T.M. Arnett Training Specialist.
Year 9 Business & Enterprise Competition. Lesson Aims: Collate and process data from your questionnaire Present information in a suitable format Draw.
DAT235 Authoring Reports Using SQL Server 2000 Reporting Services Brian Welcker Group Program Manager SQL Server Business Intelligence Microsoft Corporation.
The Last Mile: Delivering the Facts – Client Side Analysis.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
Computer Information Technology – Section 4-12 Some text and examples used with permission from: Note: We not endorsing or promoting.
Copyright 2006 South-Western/Thomson Learning Chapter 12 Tables.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
DEV 301 Visual Studio Team System Tom Arnold Program Manager Microsoft Corporation “Enabling Better Software through Better Testing”
TNT Microsoft SQL Server 2000 Reporting Services Microsoft Corporation.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
CERTIPORT EXCEL PRACTICE. EDITING SORT/FILTER/FIND & REPLACE In the Summary worksheet, sort the data in descending order by Order Number, and then in.
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
How to Build an IT Portal with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id:
Pawas Goyal CYLSYS Technologies. Agenda Overview of Reporting Services Vision, Application, Lifecycle, Overview Understand Reporting Services Architecture.
TNT Welcome to this evening’s TechNet Event We would like to bring your attention to the key elements of the TechNet programme; the central information.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
Managing data by using tables
21 Copyright © 2009, Oracle. All rights reserved. Working with Oracle Business Intelligence Answers.
DAT 378 SQL Server 2000 Bringing The Best of Reporting Services and Analysis Services Together Sean Boon Program Manager, BI Systems
Module 2: Authoring Basic Reports. Overview Creating a Basic Table Report Formatting Report Pages Calculating Values.
24 Copyright © 2009, Oracle. All rights reserved. Building Views and Charts in Requests.
Introduction to SQL Server 2000 Reporting Services Jeff Dumas Technical Specialist Microsoft Corporation
Excel Class Outline What is a spreadsheet? What can you do with them? The Cell - basic unit of a spreadsheet Making a Table - cells in Rows and Columns.
Tables MOAC LESSON 6. Table  Arrangement of data made up of horizontal rows and vertical columns  Used to organize information.
SQL Server 2005 Reporting Services
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Tips and Tricks for Reporting Services
Searching Business Data with MOSS 2007 Enterprise Search
Microsoft Word: Tables
MS-Access (database) how to create blank data base.
Searching Business Data with MOSS 2007 Enterprise Search
Bryan College presents:
Using Reports © 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
DEV354 Visual Studio 2005: New Enhancements For Debugging Applications
Windows Forms in Visual Studio 2005: An in-depth look at key features
Presentation transcript:

DAT 407 Advanced Report Authoring With SQL Server Reporting Services Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft

GoalsGoals Demonstrate broad set of report design features Build several reports of increasing complexity Discuss key report definition concepts Present tips, tricks and workarounds

Creating Reports Use Report Designer hosted in Visual Studio.NET Start with Report wizard or blank report Import from Microsoft Access XP or 2003 Charts and code-behind are not imported Redesign your top reports to use Reporting Services features Use 3rd party tools that target Reporting Services Proclarity, Panorama, Cizer, MIS AG Full list at:

Creating Reports

Report Items TextboxImageLineRectangleSubreport Data Regions (List, Table, Matrix, Chart) Custom Report Items coming in SQL Server 2005! $100,000

Item Styles All Report Items Background Color Background Image Border Color Border Style Border Width PaddingCharts Background Gradient TextboxesColor Font Family Font Size Font Style Font Weight Format Line Height Text Align Text Decoration Vertical Align

ListsLists 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

TablesTables Like lists with columns 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 $80,000 Grand Total $50,000EastTotal $30,000NorthTotal SalesRegionPerson $50,000EastSteve $20,000NorthDan $10,000NorthBrian

MatricesMatrices 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 $720$760$600 Total $300$400$300 Steve $300$250$200 Jason $120$110$100 Brian Sales

ChartsCharts Data from fields in the data set or from expressions Full set of chart properties and types Style enhancements in SP1 Same data functionality as Matrix

Expressions and Interactivity

ExpressionsExpressions Most properties take expressions Values from the data sets Values of other items on the report Values of global properties and user properties Expressions use Visual Basic.NET syntax 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")

ParametersParameters 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")

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

Tips and Tricks a.k.a. “Sleazy Hacks”

Green Bar Conditional formatting on contents of table cells Background color expression =iif(RowNumber(Nothing) Mod 2,“Green","White")

Page Break After N Rows “Hidden” page break grouping Group expression =Ceiling(RowNumber(Nothing)/30) No header or footer Page break at end of group

Running Total Running aggregate function =RunningValue(Fields!SalesAmt.Value, Sum, Nothing)

Simulated End-User Sorting “Sort By” report parameter Values = Names of fields to sort by “Direction” report parameter Values = Ascending, Descending, None

Simulated End-User Sorting Two sort expressions on table Ascending sort =iif(Parameters!Direction.Value= "Ascending", Fields(Parameters!SortBy.Value).Value,0) Descending sort =iif(Parameters!Direction.Value= “Descending", Fields(Parameters!SortBy.Value).Value,0) SQL Server 2005 will have auto-sort and filter built in!

Simulated “All” Parameters String parameter (Country) Query contains Valid Values list contains “All” Mapped to value of “%”

Simulated “All” Parameters Integer parameter (Year) Query contains and “ and Valid Values contains “All” Mapped to value of 0 Query parameter expression for MaxYear =iif(Parameters!Year.Value=0,10000,Parameter s!Year.Value) Alternate Method: Construct the query as an expression

Custom Code

Custom Code - Definition Define function in Code property (VB.NET) Public Function IsGood(Percent as Single, EmpCount as Integer) as Boolean If (Percent * 100 / EmpCount) > 7 […] End Function Link in any.NET Assembly Call or instance-based methods CAS determines code privileges

Custom Code - Usage Use code in any expression E.g. Conditional formatting =iif(Code.IsGood(ReportItems!Percent.Value,ReportItems!EmployeeCount.Value),"Green","Black") External Assemblies =Code.CurrencyConverter.Convert(Fields!Sa les.Value, “eur”, “usd”)

Deploying Reports Copies reports, images, and data sources to Report Server via Web Service After you deploy Set security permissions Set up caching and scheduled execution Set up subscriptions Bask in the admiration of your co- workers!

Additional Resources Reporting Services web site Reporting Services newsgroup news:microsoft.public.sqlserver.reporting svcs news:microsoft.public.sqlserver.reporting svcs Course 2030: Creating Reporting Solutions /2030AFinal.asp /2030AFinal.asp SQL Server Community Sites

Q1:Overall satisfaction with the session Q2:Usefulness of the information Q3:Presenter’s knowledge of the subject Q4:Presenter’s presentation skills Q5:Effectiveness of the presentation Please fill out a session evaluation on CommNet

© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.