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 a KPI with shared datasets


We have seen the way of creating a KPI with hard coded values. With this recipe, let's see how we can set values from a source rather hard coding them.

Getting ready

The Chapter07 solution has a shared dataset called DataSetSales. We will use this dataset for creating our KPI. This dataset is a parameterized dataset on the Year column and Month Number column, and it returns the following dataset for the year 2015:

Figure 7.35

Note

Note that values returned from this dataset may vary based on the loaded records into the WideWorldImportersDW database.

Since you need this dataset for creating the KPI, make sure that you have deployed this solution to your Web Portal.

How to do it...

Here are the steps for creating the second KPI:

  1. Open the Web Portal and go into the Chapter07 folder.

  2. Click on the +New menu in the header section of Web Portal and select KPI.

  3. Set the name as Sales Revenue (see Figure 7.41).

  4. Set the Value Format as Currency.... Select USD as the Currency...