BlackBelt Administration: Linked Reports in Report Manager - Page 6June 19, 2006 Customize a Report Parameter for Each Linked Report Having created folders for each Sales Territory Group, we have established a basis for at least rudimentary access control, to limit each Sales Territory Group to only the Linked Report that we wish for its members to see. Our objective is to allow each group to enter only its designated folder, containing a Linked Report whose definition will include a restriction that allows it to present only the data from the Sales Territory Group whose members will be allowed access the parent folder. We will limit the data returned by each report via the filtering effects of the new Sales Territory Group parameter, by taking the following steps. 1. From the Home page of the Report Manager, re-enter the Europe folder we created earlier. 2. Click the Properties icon, underneath the Edit column heading, to the left of the Sales Reason Comparison (Name column) Linked Report, as shown in Illustration 40.
The Properties page for the Sales Reason Comparison Linked Report opens. 3. Click the Parameters link, on the left side of the page (where it resides with other links), as depicted in Illustration 41.
The Properties Parameters page for the Sales Reason Comparison Linked Report opens. 4. Within the row for the SalesTerritorySalesTerritoryGroup parameter, using the drop-down selector in the Default Value column, select [Sales Territory].[Sales Territory Group].&[Europe], as shown in Illustration 42.
NOTE: If you notice that the selector does not appear to work that is, it does not repopulate the Default Value box, then de-select the Has Default checkbox, click Apply, and then leave the folder by clicking the View tab, as if to execute the report. Return to the Parameters properties page (click the Properties tab and then the Parameters link, from the View tab), and re-select Has Default, which should be blank at this point. As if attempting to select a value in the Default Value box drop-down, click the downward arrow button. When the empty selector opens, type in the MDX qualified name ([Sales Territory].[Sales Territory Group].&[Europe], in this case), and it should repopulate the box when navigating out of the selector. 5. Click the Hide checkbox to select it. The checkmark appears in the Hide checkbox, and the Prompt User checkbox becomes automatically de-selected. Our new settings for the SalesTerritorySalesTerritoryGroup parameter appear as depicted in Illustration 43.
The effect here is to force a default Sales Territory Group of Europe, with no consumer option of changing this filter, for the Europe Sales Reason Comparison report. 6. Click the Apply button to accept and save the modifications to the parameter. We will perform this parameter modification for the other two Linked Reports next, within the context of their respective Sales Territory Groups. 7. Return to the Home page via the breadcrumb trail in the upper left corner of Report Manager, once again. 8. From the Home page of the Report Manager, re-enter the North America folder we created earlier. 9. Click the Properties icon, underneath the Edit column heading, to the left of the Sales Reason Comparison (Name column) Linked Report, as we did within the Europe folder earlier. The Properties page for the Sales Reason Comparison Linked Report opens. 10. Click the Parameters link on the Sales Reason Comparison Linked Report Properties page that appears next, on the left side of the page (where it resides with other links), as we did within the Europe folder before. The Properties Parameters page for the North America Sales Reason Comparison Linked Report opens. 11. Within the row for the SalesTerritorySalesTerritoryGroup parameter, using the drop-down selector in the Default Value column, select [Sales Territory].[Sales Territory Group].&[North America]. 12. Click the Hide checkbox to select it, as we did earlier. The checkmark appears in the Hide checkbox, and the Prompt User checkbox becomes automatically de-selected, as before. With this Linked Report, we are forcing a default Sales Territory Group of North America, with no consumer option of changing this filter, for the North America Sales Reason Comparison report. 13. Click the Apply button to accept and save the modifications to the parameter properties. We have only to repeat similar steps for the remaining Pacific Sales Reason Comparison report. 14. Return to the Home page via the breadcrumb trail in the upper left corner of Report Manager, as before. 15. From the Home page of the Report Manager, re-enter the Pacific folder we created earlier. 16. Click the Properties icon, underneath the Edit column heading, to the left of the Sales Reason Comparison (Name column) Linked Report, as we did within the Europe and North America folders earlier. The Properties page for the Sales Reason Comparison Linked Report opens. 17. Click the Parameters link on the Sales Reason Comparison Linked Report Properties page that appears next, on the left side of the page (where it resides with other links), as we did within the Europe and North America folders before. The Properties Parameters page for the Pacific Sales Reason Comparison Linked Report opens. 18. Within the row for the SalesTerritorySalesTerritoryGroup parameter, using the drop-down selector in the Default Value column, select [Sales Territory].[Sales Territory Group].&[Pacific]. 19. Click the Hide checkbox to select it, as we did earlier. The checkmark appears in the Hide checkbox, and the Prompt User checkbox becomes automatically de-selected, as we saw for the two Linked Reports earlier. With this Linked Report, we are forcing a default Sales Territory Group of Pacific, again leaving no consumer option of changing this filter, for the Pacific Sales Reason Comparison report. 20. Click the Apply button to accept and save the modifications to the parameter properties. 21. Return to the Home page via the breadcrumb trail in the upper left corner of Report Manager, once again. We have completed setup of the Linked Reports, establishing folders to which we will limit access based upon the criteria of Sales Territory Group membership. In addition, we have restricted the data that each Linked Report retrieves and displays, through the addition of a hidden, default parameter filter to each, based, again, upon the intended Sales Territory Group audience. We will verify operation for expected results in the section that follows. Verification: Test the Linked Reports for Expected Operation As we have mentioned multiple times, we can restrict access to the folders with the most basic security available in Report Manager. This will then mean that, given access to only a single Sales Territory Group folder, members of a given Sales Territory Group can only see data that relates to their own respective group, thanks to the default parameter that we have "hard coded" into the associated Linked Report. Far more elaborate strategies can, of course, be envisioned and enacted within an application as flexible as Reporting Services. This is even more the case within a scenario where we employ the integrated Microsoft BI solution as a whole, and can deploy security and myriad other features at various layers within the suite. I have recently deployed systems where reports are handled for large numbers of individual salespersons, as an example, using a similar approach, with Linked Reports at its heart, together with data-driven subscriptions, e-mail delivery, notification of various types, and other innovations that are supported within Microsoft enterprise BI. The possibilities are virtually limitless. NOTE: For a hands-on introduction to data-driven subscriptions, see Managing Reporting Services: Data-driven Subscriptions, and External Data Sources for Subscriber Data, a member of my MSSQL Server Reporting Services series at Database Journal. Let's do a quick inspection of the operation of our Linked Reports as we have deployed them. 1. From the Home page of the Report Manager, re-enter the Europe folder we created earlier. 2. Within the Europe folder, click the Sales Reason Comparison Report, as shown in Illustration 44.
The Sales Reason Comparison Report for the European Territory Sales Group executes, and returns data as depicted in Illustration 45.
As is apparent, the report is restricted, as expected, through the use of the defaulted, hidden parameter that filters it to show only the data relevant to the European Territory Sales Group consumers. We have achieved the desired results and met the business requirements through the use of Linked Reports, each of which will be contained within a folder that will be restricted to the member consumers of the respective Sales Territory Group. 3. Test the other Linked Reports as desired. 4. Exit Report Manager when ready. Conclusion ...In this article, we introduced Linked Reports, a powerful administrative feature within MSSQL Server 2005 Reporting Services. We discussed the purpose and uses of Linked Reports, describing examples where they might provide versatile, yet conveniently maintained, "versions" of a core report to meet the requirements of multiple users or groups, allowing each to see only the data that management has deemed relevant to their functions. We discussed the general concepts, presented a basic business need for a hypothetical client, and then set about using Linked Reports to answer the requirements in a straightforward manner. We accessed the sample Report Server project, AdventureWorks Sample Reports, and ascertained connectivity of the relevant shared data source. Next, we created a clone of an existing sample OLAP report, with which to perform our practice exercise, as a means of saving time. After making a small change to the clone report (adding a parameter for the Sales Territory Groups), we previewed the clone report to ascertain its readiness for deployment, before "publishing" it to a common folder within Report Manager. Next, we created folders in Report Manager, to house Linked Reports for different consumer groups, and then created Linked Reports within each of the new consumer group folders, based upon the common source .rdl file. We then set a default parameter (hidden to the consumer at runtime) within each Linked Report to restrict the data returned and presented to the intended consumer group audience. Finally, we previewed a Linked Report to ascertain the effectiveness of our solution. Throughout the steps of our practice session, we discussed, at appropriate junctures, various settings and techniques involved in achieving our objectives. » 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 |