Reporting Services: Customize Automatically Created Parameter Support Objects - Page 5January 16, 2008 Verification: Preview the Report and Inspect the Effectiveness of Our Solution Lets preview the report to inspect the results of our handiwork. (One of the reasons that I chose hierarchical time for the dimensional example with which we undertook our practice efforts is the unambiguous relationship between parent and child level members. The idea was to both demonstrate the means of eliminating the All selection within the parameter picklists, while providing the dual benefit of demonstrating the cascading nature of the picklists as a secondary advantage of taking the avenue we have taken.) 1. Click the Preview tab. DBJ_OLAP_Report.rdl initializes, and the first prompt (based upon the pre-existing ProductCategory parameter), becomes enabled. 2. Leave the Product Category prompt selection at its default of Bikes, Components. 3. Click the downward pointing arrow on the right side of the Calendar Year selector. 4. Select CY 2004 within the Calendar Year parameter picklist. We notice the All Periods selection that previously appeared atop the Year parameters picklist has now disappeared. We also notice that, once we make a choice within the Calendar Year dropdown selector, the next parameter selector, Calendar Quarter, becomes enabled. The cascading nature of the newly added, date-related parameter set becomes obvious in this scenario, as the AdventureWorks cube contains data only through August, and the third quarter (CY Q3) of 2004, a fact that is reflected in the picklist of three Quarter selection options, as we shall see next. 5. Select CY Q2 from the Calendar Quarter picklist, as depicted in Illustration 25.
6. Select the month of June in the Month parameter picklist, as shown in Illustration 26.
We notice again that the All Periods selections that previously appeared atop the Quarter and Month parameters picklists have disappeared. The cascading nature of the date-related parameters is also demonstrated again, as we see that our selection of CY Q2 enables the picklist for the Month parameter, which appropriately reflects only the three member Months belonging to CY Q2 as selections, April, May and June. 7. Click the View Report button. The report executes quickly and returns the data for the selections we have made within our parameter picklists, in a manner similar to that depicted in Illustration 27.
Our verification process has demonstrated the effective removal of the All selection (which appears by default when we chose to generate our parameter picklists via the automatic creation mechanism that Reporting Services offers) from our newly added picklists. Moreover, we have witnessed the cascading nature of the new parameters that is established as a secondary benefit of adding parameters in the manner we have chosen. We have verified that the parameter level filtering we have put into place accomplishes the intended ends, and allows us to meet the expressed requirement of the information consumers to remove the All selection. We have also noted that the Reporting Services 2005 environment, with its graphical design environment, supports easy and flexible design of cascading parameters, in addition to allowing us to customize picklists via filtering within the automatically created datasets. We will extend our examination of parameterization yet further in the second half of this article, where we will generate a solution to meet the need of our colleagues to provide intuitive parameter defaults to information consumers at report runtime. NOTE: Please consider saving the .rdl file we have created to this point for use in the second half of this article, so as to avoid the need to repeat the preparation process we have undertaken above. 8. Experiment further with the report, if desired. 9. When ready, click the Layout tab. 10. Select File -> Save DBJ_OLAP_Report.rdl As ... to save our work, up to this point, to a location where it can be easily accessed for Part II of this article. 11. Select File -> Exit to leave the design environment, when ready. Conclusion ...In this article, we continued the extended examination of Parameters in Reporting Services 2005 that we began in Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. I and Mastering OLAP Reports: Parameters for Analysis Services Reporting, Pt. II. After discussing parameterization in general, we defined a hypothetical scenario within the context of a client business requirement: the need to remove the All selection that appears by default within parameter picklists created automatically by Reporting Services. We then moved into our hands-on practice session. After creating a clone of a sample OLAP report, containing a Matrix data region, we ascertained connectivity of its shared Analysis Services data source. We then made structural modifications to the report, to prepare for our practice exercise session with three date-related parameters, whose additions to the report were requested by our hypothetical client. We created, within the graphical Design Mode of the MDX Query Builder, three filters for which parameterization was enabled via the Filter pane setting. In conjunction with the creation of the parameterized filters, we inspected the automatically created Report Parameters and their settings, as well as the subsequently created datasets underlying the new Report Parameters. We then focused upon the modification of the respective datasets to filter the All parameter level from the data rows retrieved and presented within the parameter picklists at runtime. Throughout the steps we undertook, we discussed how the various components were tied together, and the potential challenges we face in modifying these objects without consideration of the resulting dependencies. Finally, we previewed the report to observe the effectiveness of our solution in eliminating the All selection in the picklists at runtime, as well as the added benefit of the general cascading nature of the parameters at runtime. » See All Articles by Columnist William E. Pearson, III Discuss this article in the MSSQL Server 2000 Reporting Services Forum. 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 |