Stacked Bar Chart for Analysis Services Data - Page 8May 21, 2009 Legend Tab
We advise our client colleagues that, since the default position for the legend is to the right of the chart area, and since our Stacked Bar chart may be wider than expected, due to its nature and the amount of data we are presenting, placing the legend underneath the chart will offer another means of compressing the overall presentation.
The Style Properties dialog box appears, defaulted to the Font tab.
Table 6: Style Properties Dialog Font Tab The Font tab of the Style Properties dialog appears, with our settings, as depicted in Illustration 38.
We note the presence of the Border and Line and Fill tabs, but we will leave the settings within each at default, at this point.
We return to the Legend tab, once again, where we will leave all else at default. The Legend tab appears, with our settings, as shown in Illustration 39.
We will move to the 3D Effect tab in the next subsection. 3D Effect Tab
We inform our client colleagues that the 3D Effect tab offers us a means of transforming the ordinarily flat appearance of our Bar chart to a highly customizable, three dimensional presentation. Here we can enable 3-D visual effects (via the checkbox to the immediate left of the Display chart with 3-D visual effect label). The four variables that we can manipulate are:
Once 3-D visual effects are enabled, a slider becomes enabled for each of these variables, which we can move to adjust each variable until we achieve just the degree of readability we desire within the chart. We will leave the settings of the 3D Effect tab at default at this point. The 3D Effect tab appears, with default settings, as depicted in Illustration 40.
We will examine the final remaining tab, Filters, in the next subsection. Filters Tab
The Filters tab is but one option we have, within Reporting Services, to filter the data that is displayed within our chart. We advise our client colleagues that we performed all desired filtering at the dataset level earlier within our practice session. When this is adequate (that is, when we can afford to filter at the dataset level for the entire report) we may achieve performance gains at report runtime, due to the overall retrieval of less data from the Analysis Services data source. But, we caution the client representatives, due consideration should be given to the various points at which we can filter within a given report, to ascertain that we optimize performance while retaining complete and accurate information for presentation. The Filters tab allows us to choose either simple dataset columns or expressions to filter data at the chart level. This might make sense as a filter point if we were, say, using multiple data regions (charts, matrices, tables, lists, or a combination of these, perhaps) that were sharing the same common dataset(s), but where each region had different filtering requirements and needed to present different subsets of data from the underlying dataset(s). Whatever our needs, Reporting Services, once again, offers flexibility in ways to meet the challenges involved. The Filters tab appears, with default settings, as shown in Illustration 41.
The Chart Properties dialog closes, returning us to the placeholder chart item in Report Designer, Layout tab. We will conclude our practice session in the next section, where we will verify the operation of our new Stacked Bar chart. Verify Operation of the Bar Chart itemLets ascertain the accuracy and completeness of our construction efforts. We will execute the report with the following steps:
The new report generates, displaying both the original matrix and new Bar chart data regions. The Stacked Bar chart data region appears as shown in Illustration 43.
We can easily verify the displayed simple Stacked Bar chart totals against the matrix data region (by adding together each of the two years totals for any given Territory Group / Sales Reason, and comparing that total to the corresponding total in the matrix data region). Our Stacked Bar chart meets the expressed business requirements and demonstrates many details surrounding its property settings. The client representatives express satisfaction with our efforts, and state that, with a few cosmetic changes (including the simple removal of the existing matrix data region, and the subsequent realignment / resizing, as appropriate, of the Stacked Bar chart on the canvas), the report will be ready for deployment to the targeted information consumer group. Moreover, they assure us that the details they have examined within the practical exercise we have undertaken can be extrapolated to their creation efforts of other Stacked Bar charts. 4. Experiment further with the report, if desired. 5. When finished with the report, click the Layout tab. 6. Select File -> Save RS065_Stacked_Bar_Chart.rdl As ... to save our work, up to this point, to a location where it can be easily accessed for later reference. As we can see from our examination above, Reporting Services offers a wide range of options for Stacked Bar chart creation and manipulation to assist us in the delivery of information within the business environment. We extend our examination of chart types, specifically examining each type, together with the properties and methods we can manipulate for the precise presentations we seek to be able to deliver, in other articles of this series. 7. Select File -> Exit to leave the design environment, when ready (saving as desired), and to close the Business Intelligence Development Studio. ConclusionIn this article, we performed a relatively straightforward examination of the Reporting Services Stacked Bar chart type, from within a copy of an existing sample Reporting Services report that we created for this purpose. Our focus, as we stated in the introduction, was to create a basic, working Stacked Bar chart, using an Analysis Services data source (the Adventure Works DW sample OLAP database / Adventure Works cube that accompanies the installation of Reporting Services), and to discuss various characteristics of the Stacked Bar chart type as we progressed. We examined relevant chart properties, and got some hands-on exposure to the manipulation of those properties to support the delivery of information to meet the needs of a hypothetical group of organizational information consumers. We noted that this article would serve as a basis, in some cases, for other, more advanced articles within the MSSQL Server Reporting Services series, where we use the Stacked Bar chart we created here as a starting point from which we can concentrate on in-depth procedures and nuances to achieve precision in meeting specific requirements and data presentation effects that we might deliver in the business environment. About the MSSQL Server Reporting Services Series ...This article is a member of the series MSSQL Server Reporting Services. This monthly column is designed to introduce MSSQL Server Reporting Services (Reporting Services), presenting an overview of its features, with tips and techniques for real-world use. For more information on the series in general, please see my initial Database Journal article, A New Paradigm for Enterprise Reporting. » See All Articles by Columnist William E. Pearson, III MSSQL Server Reporting Services
Introducing the Tablix Data Region: Basic Grouping Concepts
Introducing the Tablix Data Region in Reporting Services 2008 100% Stacked Column Chart for Analysis Services Data XY (Scatter) Chart for Analysis Services Data Simple Doughnut Chart for Analysis Services Data Exploded Pie Chart for Analysis Services Data Stacked Bar Chart for Analysis Services Data Line Chart for Analysis Services Data Stacked Column Chart for Analysis Services Data A More Advanced Pie Chart for Analysis Services Data Simple Pie Chart for Analysis Services Data Simple Bar Chart for Analysis Services Data Simple Column Chart for Analysis Services Data Introducing Reporting Services Charts for Analysis Services Mastering OLAP Reports: Parameterized Grouping Mastering OLAP Reports: Parameterizing Number of "Top" Items with the MDX TopCount() Function, Part II Mastering OLAP Reports: Parameterizing Number of "Top" Items with the MDX TopCount() Function, Part I Mastering OLAP Reports: Parameterizing Number of "Look Back" Periods with the MDX LastPeriods() Function, Part II Mastering OLAP Reports: Parameterizing Number of "Look Back" Periods with the MDX LastPeriods() Function, Part I Support Parameterization from Analysis Services - Parameter Defaults Parameterization from Analysis Services - Cascading Picklists Support Parameterization from Analysis Services Parameter Support Objects, Pt II: Support OLAP Parameter Defaults with Datasets Reporting Services: Customize Automatically Created Parameter Support Objects Snapshot Reports II: SQL Server Management Studio Perspective Snapshot Reports I: Report Manager Perspective Report Execution Caching II: Report Manager Perspective Report Execution Caching I: SQL Server Management Studio Perspective Report Session Caching in Reporting Services 2005 Black Belt Administration: Reporting Services Configuration Manager Intelligent Layering: Leverage Conditional Formatting Logic from Analysis Services Black Belt Administration: Performance Dashboard for Microsoft SQL Server, Part II Black Belt Administration: Performance Dashboard for Microsoft SQL Server, Part I Mastering OLAP Reports: Extend Reporting Services with Custom Code Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. II Black Belt Components: Support Simple Navigation with a Document Map Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. I Black Belt Components: Interactive Sorts within a Matrix Data Region BlackBelt Authoring: Conditional Drillthrough to Multiple Reports Mastering OLAP Reporting: Prototype KPIs in Reporting Services BlackBelt Administration: Linked Reports in SQL Server Management Studio BlackBelt Administration: Linked Reports in Report Manager Mastering OLAP Reporting: Reporting with Analysis Services KPIs Report Builder: Creating a Report Model Mastering OLAP Reporting: Meet Business Needs with Matrix Dynamics, Part II Mastering OLAP Reporting: Meet Business Needs with Matrix Dynamics, Part 1 Mastering OLAP Reporting: Display a Dataset Field in a Report Page Header Interactive Sorting Within Reporting Services MSSQL Server Reporting Services: Mastering OLAP Reporting: Multiple Value Selection in a Parameter Picklist MSSQL Server Reporting Services : Mastering OLAP Reporting: Drilling Through Using MDX MSSQL Server Reporting Services: Mastering OLAP Reporting: Relationally-Based Picklists for OLAP Reporting MSSQL Server Reporting Services: Mastering OLAP Reporting: Extending Conditional Formatting: SWITCH and Drilldown Defaults MSSQL Server Reporting Services: Mastering OLAP Reporting: Percent of Total - Chart Presentation Nuances MSSQL Server Reporting Services: Mastering OLAP Reporting: Percent of Total - Two Perspectives MSSQL Server Reporting Services : Mastering OLAP Reporting: Ad Hoc TopCount and BottomCount Parameters MSSQL Server Reporting Services: Black Belt Components: Ad Hoc Sorting with Parameters MSSQL Server Reporting Services: Black Belt Administration: "Governor" Capabilities: Report Execution Timeout MSSQL Server Reporting Services : Black Belt Administration: Execution Log Performance and Audit Reports MSSQL Server Reporting Services: Black Belt Administration: Prepare the Execution Log for Reporting MSSQL Server Reporting Services: Black Belt Components: Ad Hoc Conditional Formatting for OLAP Reports MSSQL Server Reporting Services : Black Belt Components: Manage Nulls in OLAP Reports MSSQL Server Reporting Services: Reporting Services Basics: Create a Reusable Template Report MSSQL Server Reporting Services: Master Chart Reports: Track Exchange Rates in a Line Chart MSSQL Server Reporting Services: Master Chart Reports: Pie Charts in Reporting Services MSSQL Server Reporting Services: Mastering OLAP Reporting: Cascading Prompts MSSQL Server Reporting Services: Managing Reporting Services: Data-driven Subscriptions, and External Data Sources for Subscriber Data MSSQL Server Reporting Services: Managing Reporting Services: Report Execution and Standard Subscriptions MSSQL Server Reporting Services: Managing Reporting Services: Data Connections and Uploads MSSQL Server Reporting Services: The Authoring Phase: Overview Part II MSSQL Server Reporting Services: The Authoring Phase: Overview Part I MSSQL Server Reporting Services: A New Paradigm for Enterprise Reporting |