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

Adding embedded codes to reports


With this recipe, let's see how to add a parameter in order to accept a value that can be converted to a date and use it for the dataset.

Getting ready

The solution related to this chapter is named as Chapter12.sln. We will be using this solution for working with recipes and the report we use for this recipe is DailySales. Now publish the solution. If you do not have the solution, you need to create a report with the given query that connects with the WideWorldImportersDW database. Following are the steps:

  1. Open the Chapter12.sln solution and configure the data source DataSourceWideWorldImportersDW with settings related to your database server and configure the Reporting Services server settings.

  2. If you are making your own report, make sure that the following query is used and the table data region is added as per the output shown in the Figure 12.01:

          SELECT s.[Invoice Date Key], c.Customer, ct.City + ' - ' + ct.
          State Province] City 
       ...