Book Image

SQL Server 2016 Reporting Services Cookbook

By : Dinesh Priyankara, Robert Cain
Book Image

SQL Server 2016 Reporting Services Cookbook

By: Dinesh Priyankara, Robert Cain

Overview of this book

Microsoft SQL Server 2016 Reporting Services comes with many new features. It offers different types of reporting such as Production, Ad-hoc, Dashboard, Mash-up, and Analytical. SQL Server 2016 also has a surfeit of new features including Mobile Reporting, and Power BI integration. This book contains recipes that explore the new and advanced features added to SQL Server 2016. The first few chapters cover recipes on configuring components and how to explore these new features. You’ll learn to build your own reporting solution with data tools and report builder, along with learning techniques to create visually appealing reports. This book also has recipes for enhanced mobile reporting solutions, accessing these solutions effectively, and delivering interactive business intelligence solutions. Towards the end of the book, you’ll get to grips with running reporting services in SharePoint integrated mode and be able to administer, monitor, and secure your reporting solution. This book covers about the new offerings of Microsoft SQL Server 2016 Reporting Services in comprehensive detail and uses examples of real-world problem-solving business scenarios.
Table of Contents (18 chapters)
SQL Server 2016 Reporting Services Cookbook
Credits
About the Authors
About the Reviewers
www.Packtpub.com
Preface

Setting up data sources


While simulated data is nice, you'll obviously want to use your real data in your reports. The Mobile Report Publisher uses datasets stored in the Report Portal to supply data to the reports.

Getting ready

The easiest way to create a dataset is with Report Builder. For a detailed explanation, see the Working with published datasets recipe in Chapter 4, Authoring Reports with Report Builder, to learn how to create them. In this section, we'll supply just the basic steps.

How to do it....

  1. Open Report Builder.

  2. Select New Dataset.

  3. Select the WideWorldImportersDW data source, or browse to the one stored on your report server's data sources you saved previously.

  4. Click on the Create button.

  5. Click on Edit as Text.

  6. Paste in the following query:

          SELECT fs.[Sale Key] 
               , fs.[Invoice Date Key] 
               , fs.[Delivery Date Key] 
               , dc.[City] 
               , dc.[State Province] 
               , ds.[Stock Item] 
               , fs.[Description] 
               , fs.[Package...