Professional Microsoft SQL Server 2012 Reporting Services [1., Auflage]
9781118101117, 9781118223796, 9781118237137, 9781118262108, 1118101111, 1118237137
A must-have guide for the latest updates to the new release of Reporting ServicesSQL Server Reporting Services allows yo
Table of contents : Professional Microsoft® SQL Server® 2012 Reporting Services......Page 5 Contents......Page 17 Foreword......Page 37 Introduction......Page 39 Part I: Getting Started......Page 49 Chapter 1: Introducing Reporting Services......Page 51 Who Uses Reporting Services?......Page 52 System Administrators......Page 53 Blurring the Line Between Applications and Reports......Page 54 User Interaction......Page 55 Integrating Reports and Applications......Page 56 Enterprise Reporting......Page 57 Simple Report Design......Page 58 IT-Designed Reports......Page 59 User-Designed Reports......Page 60 Server-Based Reports......Page 63 Business Intelligence Reporting Solutions......Page 64 Analytic Data Sources and Self-Service BI......Page 66 Complexity and Report Performance......Page 67 Summary......Page 68 Chapter 2: Reporting Services Installation and Architecture......Page 71 The Basic Installation......Page 72 Installing Reporting Services......Page 73 SQL Server Editions......Page 89 Topology......Page 92 Installation Options......Page 93 The Reporting Life Cycle......Page 94 Reporting Services Tools......Page 95 Report Builder......Page 96 SQL Server Management Applications......Page 97 HTML Viewer......Page 98 Reporting Services Web Service......Page 99 Reporting Services Windows Service......Page 100 HTTP.SYS and the HTTP Listener......Page 101 The Security Sublayer......Page 102 Service Management......Page 103 Configuration Files......Page 104 Reporting Services Processors and Extensions......Page 105 The Report Processor......Page 106 Report Execution Caching......Page 107 Data Processing Extensions......Page 108 Rendering Extensions......Page 109 The XML-Rendering Extension......Page 110 The Excel-Rendering Extension......Page 111 Reporting Services Application Databases......Page 112 ReportServer......Page 113 Summary......Page 114 Chapter 3: Configuring SharePoint Integration......Page 117 SharePoint Foundation......Page 118 SharePoint Server......Page 119 SharePoint Web Parts......Page 121 Installing SharePoint Server 2010......Page 122 Installing Service Pack (SP) 1......Page 124 Installing and Configuring PowerPivot for SharePoint......Page 125 Installing and Configuring Reporting Services for SharePoint......Page 129 SharePoint Site Settings......Page 137 Architecture......Page 138 Summary......Page 139 Part II: Report Design......Page 141 What Good Are Wizards, Anyway?......Page 143 Building Blocks......Page 144 Let’s Get Started......Page 145 Touring Report Builder......Page 155 Home Tab......Page 156 Insert Tab......Page 157 View Tab......Page 158 Report Builder Menu......Page 159 Server Reports......Page 160 Building a Matrix......Page 161 Wrapping It Up......Page 166 Summary......Page 168 Chapter 5: Report Layout and Formatting......Page 171 Table Reports......Page 172 Matrix Reports......Page 173 Chart Reports......Page 174 Maps and Spatial Reports......Page 175 Group Expressions and Options......Page 176 Formatting Table Values......Page 178 Interactive Sort......Page 182 Adding Page Breaks......Page 183 Creating Drill-Down Reports and Dynamic Visibility......Page 184 Introduction to Dynamic Formatting......Page 186 Designing Gauge Reports......Page 187 Browser Compatibility......Page 188 Rendering Format Limits and Considerations......Page 189 Summary......Page 190 Chapter 6: Designing Data Access......Page 191 Business Intelligence Reporting......Page 194 Data Sources......Page 196 Creating a Data Source in the Report Wizard......Page 197 Creating a Data Source When Defining a Dataset......Page 200 Data Sources and Query Languages......Page 201 T-SQL Query Design......Page 202 Data Warehouse Star Schema......Page 203 Filtering Techniques......Page 209 Filtering a Query......Page 210 Parameter Concepts......Page 211 Filtering Data with Query Parameters......Page 213 Creating a Parameter List......Page 215 Multivalue Parameters......Page 216 Cascading Parameters......Page 218 Report Parameters......Page 223 Using Stored Procedures......Page 224 Filtering Data with Report Parameters......Page 225 Microsoft Access......Page 228 Building a Query in a String Expression......Page 231 Microsoft Excel......Page 232 Oracle P/L SQL......Page 233 Federating Data Sources......Page 234 Summary......Page 235 Chapter 7: Advanced Report Design......Page 237 Headers and Footers......Page 238 Aggregate Functions and Totals......Page 242 Adding Totals to a Table or Matrix Report......Page 244 Creating Report Templates......Page 246 Anatomy of a Textbox......Page 247 Padding and Indenting......Page 248 Embedded Formatting......Page 249 Embedded HTML Formatting......Page 250 Designing Master/Detail Reports......Page 252 Using a List to Combine Report Items and Data Regions......Page 253 Designing Subreports......Page 260 Federating Data with a Subreport......Page 261 Execution and Resource Implications......Page 264 Creating a Document Map......Page 267 Links and Drill-Through Reports......Page 269 Navigating to a URL......Page 271 Reporting on Recursive Relationships......Page 272 Summary......Page 276 Chapter 8: Chart Reports......Page 277 Column Charts......Page 278 Area and Line Charts......Page 281 Pie and Doughnut Charts......Page 282 Bubble and Stock Charts......Page 283 Chart Type Summary......Page 285 The Anatomy of a Chart......Page 287 Creating a Multiseries Chart......Page 288 Using Multiple Chart Areas......Page 290 Control the Width and Gap Between Columns or Bars......Page 294 Summary......Page 295 Part III: Business Intelligence Reporting......Page 297 Chapter 9: BI Semantic Models......Page 299 Introduction to Data Modeling......Page 300 The BI Semantic Model......Page 301 Conceptual Architecture......Page 304 Data Model......Page 305 Data Access......Page 308 The Hybrid Nature of the BI Semantic Model......Page 309 Summary......Page 310 Chapter 10: Reporting with Analysis Services......Page 311 Why Use Analysis Services for Reporting?......Page 312 Working with Multidimensional Expression Language......Page 314 Building Queries with the MDX Query Designer......Page 315 Creating a Data Source......Page 316 Building the Dataset Query......Page 318 Using Parameterized Queries......Page 321 Modifying the MDX Query......Page 326 Adding Nonadditive Measures......Page 333 When to Use the Aggregate Function......Page 335 MDX Properties and Cube Formatting......Page 337 Drill-Through Reports......Page 338 Creating Cube Report Actions......Page 339 Parameter Safety Precautions......Page 340 Summary......Page 341 Chapter 11: OLAP Reporting Advanced Techniques......Page 343 Parameters......Page 344 Dataset......Page 345 Formatting the Row Label......Page 349 Highlighting the Current Row......Page 351 Self-Calling Drill-Through Action......Page 352 MDX Query Modifications......Page 354 Visualization Tweaks......Page 356 pRowCount Parameter......Page 357 Restricting the Number of Rows in the MDX Query......Page 360 Summary......Page 362 Designing the Report......Page 363 MeasureGroups......Page 366 Adding Other Cube Metadata......Page 368 Cube Browser......Page 372 Cube Browser......Page 374 Cube Browser Metadata......Page 375 Cube Browser......Page 377 Report Body......Page 382 Swap Actions......Page 384 Titles......Page 386 Footer Information......Page 390 Final Thoughts......Page 393 Summary......Page 394 Part IV: Enabling User Reporting......Page 395 Chapter 12: Tabular Models......Page 397 Introduction to PowerPivot......Page 398 PowerPivot for Excel......Page 400 Setup and Installation......Page 402 Importing Data into PowerPivot......Page 403 The Home Tab......Page 408 The Design Tab......Page 409 The Advanced Tab......Page 410 Filtering and Sorting......Page 411 Relationships......Page 412 Calculated Columns......Page 415 Measures......Page 416 Browsing the Model......Page 419 Summary......Page 420 Chapter 13: Visual Analytics with Power View......Page 421 Introduction to Power View......Page 422 Power View Architecture......Page 427 Architecture Overview......Page 428 Reporting Services Service Application......Page 429 Preparing a Model and Connection for a Tutorial......Page 430 Deploying the FAA Flight Data Model......Page 431 Creating a SharePoint Image Library for FAA Airline Images......Page 432 Publishing the FAA Workbook Directly to the PowerPivot Gallery......Page 434 BI Semantic Model (BISM) Connection File......Page 435 Report Data Source (RSDS) Connection......Page 436 Visual Analytics with Power View......Page 437 Creating a New Power View Report......Page 438 Introduction to the Design Experience......Page 439 Creating a Table Visualization......Page 440 Converting Visualizations......Page 442 Sorting Inside a Chart......Page 443 Filtering in Views......Page 444 Multiple Views......Page 448 Saving Reports......Page 451 Tile Visualizations......Page 453 Highlighting in Visualizations......Page 456 Matrix......Page 457 Filters......Page 458 Card and Callout Views......Page 459 Zooming in Charts......Page 461 Scatter and Bubble......Page 462 Animated Timeline Charts......Page 464 Presenting and Exporting in Power View......Page 466 Reading and Presentation Modes......Page 467 PowerPoint Export and Interactivity......Page 469 Tips and Tricks for Power View......Page 472 Configuring Data Source Connections......Page 473 Connecting to PowerPivot Workbooks......Page 475 Connecting to a BISM Connection File......Page 476 Connecting to an RSDS......Page 477 Authentication Scenarios......Page 478 Kerberos Delegation with BISM or RSDS......Page 480 RSDS and Stored Windows Credentials......Page 481 RSDS with Impersonation and EffectiveUser......Page 483 Installing Analysis Services Tabular......Page 485 Deploying a PowerPivot Workbook to Analysis Services Tabular......Page 488 Summary......Page 490 Resources......Page 491 Chapter 14: Report Builder Solution Strategies......Page 493 Report Builder and Semantic Model History......Page 495 Design Approaches and Usage Scenarios......Page 496 Define Ownership......Page 497 Data Governance......Page 498 User Education......Page 499 Report Branding......Page 500 Using Shared Data Sources......Page 501 Designing and Deploying Report Parts......Page 502 Review......Page 505 Test......Page 506 Summary......Page 507 Part V: Solution Patterns......Page 509 Solutions and Projects......Page 511 Project Structure......Page 512 Multiple Logical Folders and Projects......Page 513 Shared Datasets and Data Sources......Page 514 Solution Scope......Page 515 Report Specifications......Page 516 Multiple Reporting Environments......Page 517 Multiple Logical Folders and Projects......Page 518 Setting Up Version Control......Page 519 Setting Check-out and Check-in Policies......Page 520 Excluding a Report from a Deployment......Page 521 Checking the Deployment Location......Page 522 Managing Data Sources......Page 523 Managing Reports......Page 524 Getting Started with Azure Reporting......Page 525 Deploying and Executing Reports......Page 529 Summary......Page 530 Chapter 16: Report Solutions, Patterns, and Recipes......Page 531 Working with the Strengths and Limitations of the Architecture......Page 532 Report Recipes: Building on Basic Skills......Page 535 KPI Scorecard......Page 536 Deploying a Report Part......Page 540 Interactive Sparkline and Chart......Page 542 Map with Navigation and Zoom......Page 550 Geographic Shape Colors......Page 554 Adding Spatial Point Markers......Page 556 Zoom, Pan, and Tilt......Page 557 Using Report Parts to Assemble a Dashboard......Page 559 Dynamic Colors and Themes......Page 562 Designing the Report......Page 565 Summary......Page 569 Part VI: Administering Reporting Services......Page 571 Chapter 17: Content Management......Page 573 Using Report Manager......Page 574 Folders......Page 577 Shared Data Sources......Page 579 Report Models......Page 582 Reports......Page 583 Report Resources......Page 591 Shared Schedules......Page 592 Item-Level Security......Page 593 The RS Utility......Page 601 Reporting Services Scripts......Page 603 Summary......Page 605 Chapter 18: Integrating Reports with SharePoint......Page 607 Native Mode Web Parts Installation......Page 608 Report Viewer......Page 609 Report Explorer......Page 610 SharePoint Foundation and SharePoint Server Standard Edition......Page 612 SharePoint Server Enterprise Edition......Page 618 Report Management......Page 620 Integrated Mode Web Parts......Page 622 Native Mode Versus Integrated Mode......Page 625 Report Models......Page 626 Summary......Page 627 Chapter 19: Native Mode Server Administration......Page 629 Account Management......Page 630 The Service Account......Page 631 The Application Database Account......Page 633 The Unattended Execution Account......Page 634 System-Level Roles......Page 635 Surface Area Management......Page 637 Application Databases......Page 638 Encryption Keys......Page 640 Configuration Files......Page 642 Monitoring......Page 643 Trace Logs......Page 644 Execution Logs......Page 648 Performance Counters......Page 650 Memory Management......Page 655 URL Reservations......Page 656 E-mail Delivery......Page 658 Rendering Extensions......Page 660 My Reports......Page 662 Summary......Page 664 Part VII: Reporting Services Custom Programming......Page 665 Chapter 20: Integrating Reports into Custom Applications......Page 667 URL Syntax......Page 668 Folders......Page 669 Data Sources......Page 671 Reports......Page 673 Parameter Prefixes......Page 675 Parameters......Page 676 Passing Report Information Through the URL......Page 680 Report Parameters......Page 681 Rendering Snapshot History......Page 682 Programmatic Rendering......Page 683 Server-Side Parameters......Page 684 Setting Up the Web Services......Page 685 Retrieving Report Information......Page 691 Retrieving Report Parameters......Page 696 Rendering a Report to a File on the Filesystem......Page 701 Rendering a Report to the Filesystem Summary......Page 708 Using Integrated Windows Authentication......Page 709 Rendering to the Response Object......Page 710 Using the ReportViewer Control......Page 717 Embedding a Server-Side Report in a Windows Application......Page 720 Summary......Page 726 Chapter 21: Using Embedded and Referenced Code......Page 729 Using the Expression Builder......Page 731 Calculated Fields......Page 732 IIF() Is Your Friend......Page 735 Using Custom Code......Page 738 Using Custom Code in a Report......Page 739 Using a Custom Assembly......Page 740 Custom Assembly Security......Page 742 Summary......Page 743 Chapter 22: Extending Reporting Services......Page 745 What Is an Interface?......Page 747 Interface Language Differences......Page 748 A Detailed Look at Data Processing Extensions......Page 750 The Scenario......Page 753 Creating and Setting Up the Project......Page 754 Creating the DataSetConnection Object......Page 756 Constructors......Page 758 Impersonate Property......Page 759 UserName and Password Properties......Page 760 Implementing IDbConnection......Page 761 Begin Transaction Method......Page 763 Open Method......Page 764 ConnectionString Property......Page 765 ConnectionTimeout Property......Page 767 Implementing IDataParameter......Page 768 ParameterName Property......Page 769 Value Property......Page 770 Implementing IDataParameterCollection......Page 771 Creating the DataSetCommand Class......Page 773 Variable Declarations......Page 774 Constructors......Page 775 Implementing IDbCommand......Page 776 ExecuteReader Method......Page 777 CommandText Property......Page 779 CommandType Property......Page 787 Parameters Property......Page 788 Declarations......Page 789 Implementing IDataReader......Page 790 GetName Method......Page 791 GetValue Method......Page 792 Read Method......Page 793 Server Installation......Page 794 Server Security Configuration......Page 795 WorkStation Security Configuration......Page 796 Testing DataSetDataExtension......Page 797 Summary......Page 801 Part VIII: Appendix 531......Page 803 Appendix A: T-SQL Command Syntax Reference......Page 805 SELECT......Page 806 SELECT INTO......Page 807 WHERE......Page 808 WITH CUBE......Page 809 ORDER BY......Page 810 CASE......Page 811 DELETE......Page 812 LIKE......Page 813 UNPIVOT Operator......Page 814 CREATE PROCEDURE......Page 815 CREATE VIEW......Page 816 Script Comment Conventions......Page 817 Reserved Words......Page 818 ODBC Reserved Words......Page 820 Future Reserved Words......Page 823 System Global Variables......Page 827 Configuration......Page 828 System Statistics......Page 830 System Functions......Page 831 Aggregation......Page 832 Checksum......Page 833 Cryptographic......Page 834 Date and Time......Page 835 Error Handling......Page 837 Mathematical......Page 838 Metadata......Page 840 Rowset......Page 842 Security......Page 843 String Manipulation......Page 844 System......Page 846 System Statistics......Page 849 Reserved Keywords......Page 851 Member References......Page 854 Sets......Page 855 The SELECT Statement......Page 856 The WHERE Clause......Page 857 The WITH Clause......Page 858 Parameters......Page 859 Keywords......Page 860 Metadata Functions......Page 861 Navigation Functions......Page 863 Other Functions......Page 865 Set Functions......Page 866 Statistical Functions......Page 869 String Functions......Page 872 Time Functions......Page 873 UI Functions......Page 874 Value Functions......Page 876 Index......Page 877 Advertisements......Page 914