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

Creating reports with a chart data region


Charts and graphs are an increasingly important component of reporting. They convey information in just a glance, with a simple picture. It is likely you will be asked to create many reports with graphs, combining them to create dashboards.

In this section, we'll start with a simple graph to convey sales month by month based on the invoice date.

Getting ready

In the WideWorldImportersDW database, the data will be coming from the sales table. The report will display the total, including tax, summed up by invoice month/year and then charted. We'll start with the following query:

SELECT s.[Invoice Date Key] 
     , SUM(s.[Total Including Tax]) AS TotalSalesWithTax 
  FROM [Fact].[Sale] s 
 GROUP BY s.[Invoice Date Key] 

How to do it...

  1. Right-click on the Reports branch in the solution explorer.

  2. Do NOT click on the Add New Report option in the pop-up menu. This launches the wizard, which does not support charts. Instead, select Add | New...