Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» Sitemap
Free Newsletters:
DatabaseDaily  
News Via RSS Feed


follow us on Twitter
Database Journal |DBA Support |SQLCourse |SQLCourse2
 

Featured Database Articles

MS SQL

Posted Jul 18, 2005

MSSQL Server Reporting Services: Mastering OLAP Reporting: Percent of Total - Chart Presentation Nuances - Page 7

By William Pearson

Verify Operation of the Chart Report

Let's ascertain the accuracy and completeness of our construction efforts. We will execute the report with the following steps:

  1. Click the Preview tab, to the right of the Layout tab atop the design surface.

The new chart report generates, and appears as shown in Illustration 28.

Click for larger image

Illustration 28: The Chart Report, Preview Tab

We see that our new pie chart presents the data requested by the information consumers. The individual "pieces of the pie" display the percentage total sales value for each of the Stores. Moreover, total Sales by Store, together with the corresponding percentage contribution of each (in descending order), appears in the legend, which is color-keyed to the chart.

  1. Click the Layout tab, once more.
  2. Select File --> Save PercTotalPie.rdl As ... from the main menu, as depicted in Illustration 29.


Illustration 29: Saving the .rdl File for the Report

  1. Resave the file, and then exit Visual Studio.net, when desired.

Through the forgoing steps, we have met the requirements of the information consumers within the Budget and Planning unit of the FoodMart 2000 organization. We have augmented the data presented within a pre-existing matrix region (which we created in our previous article) with a pie chart that serves multiple functions. The chart region we have constructed demonstrates the presentation of a calculation, Percent of Total, within both the body of the chart itself and its legend, combining the base value, Store Sales, with the calculated Percent of Total Sales within the chart legend, to achieve desired impact. The presentations are certainly interchangeable, as well as subject to other options; these approaches are only simple examples of the flexibility that Reporting Services offers us as authors / architects.

Of further significance is our selection of two distinct sources for the Percent of Total Sales calculation, which, as a follow-on to concepts we introduced in our previous article, demonstrates the end use of calculations that are constructed to inhabit different levels of the integrated BI solution. Our example is only a tiny illustration of the opportunities that abound in a solution that is designed and constructed to leverage the many options that exist at "multiple layers" for optimization of the overall solution. Indeed, as I have often stated in the past, multi-layered architecture requires a familiarity with all the layers to facilitate the optimal placement of each component of the "intelligence."

Conclusion ...

In this article, we returned to our examination of chart reports, this time with objectives that went beyond our introduction, earlier in the MSSQL Server Reporting Services series, Master Chart Reports: Pie Charts in Reporting Services. Following the introduction of the Percent of Total calculation (largely as an example of a business intelligence component that can be constructed at multiple levels within an integrated BI solution) we introduced in our previous article, Mastering OLAP Reporting: Percent of Total - Two Perspectives. We leveraged much of the setup required by using components created in that article in support of the practice examples we undertook in this article.

Our objective was to extend our percent of total solution to its presentation within a chart, combining the concepts involved with a few mechanical procedures about which I receive recurring e-mails and forum insertions. We used a pie chart, but noted that the same concepts apply, directly or indirectly, within other Reporting Services chart types. After discussing a common business need within the reporting environment, the requirement to present percent of total values within a chart data region, we focused upon the Analysis Services layer as the home of one calculation, and Reporting Services as the layer containing the second, referring to the construction of these components in our previous article.

We then returned to the project that we created in the previous article, creating a "clone" report within Reporting Services, within which we performed our practice exercises, allowing us to leverage the dataset from our previous article to "jumpstart" our practice session. We then worked with a Pie Chart to demonstrate audience-friendly presentation options for percent of total values. Finally, we previewed the report in Report Designer, to verify the operation of the calculations, labels, and other report elements that formed the scope of our practice exercise.

» See All Articles by Columnist William E. Pearson, III

Discuss this article in the MSSQL Server 2000 Reporting Services Forum.



MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 




Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Error using SQL Server credentials poverty 3 August 17th, 07:43 AM
Need help changing table contents nkawtg 1 August 17th, 03:02 AM
SQL Server Memory confifuration bhosalenarayan 2 August 14th, 05:33 AM
SQL Server Primary Key and a Unique Key katty.jonh 2 July 25th, 10:36 AM


















Thanks for your registration, follow us on our social networks to keep up-to-date