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] ...

Get SQL Server 2016 Reporting Services Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.