SAS Web Report Studio enables you to link reports together. When you link reports, you have the option to associate data item values in the source report with prompts in the target report. In this way, the prompt window is bypassed for the target report, and the target report is automatically subset based on the values in the source report. This sample shows you how to link a graph and a crosstabulation table to another report. As the input table for both the source report (Shoe Sales Main) and the target report (Shoe Sales Detail), this sample uses the SHOES table, which is one of the sample tables included with SAS.
Note: This sample shows you how to link two relational reports. For an example of linking from an OLAP-based report to a relational report, see Sample 40009.
The Shoe Sales Main Report contains a multi-line graph and a crosstabulation table.
The multi-line graph has these data assignments:
The crosstabulation table has these assignments:
The Shoe Sales Detail Report contains prompts for Product and Region and displays results in a crosstabulation table.
Note: Before you can create the link, the target report must exist.
Note: Beginning with SAS Web Report Studio 4.2, you must have the capability to link reports. If you do not see the menu option, contact your system administrator.
Note: In version 3.1, the data items are on the left and the prompts are on the right. This order is reversed beginning with version 4.2. In addition, if the target report has multiple sections, you can select the first section to display.
Version 3.1 |
Version 4.2 and later |
Note: If you are using the second maintenance release for SAS 9.2 (TS2M2), then you can associate hidden data items (OLAP only) and group breaks with prompts in the target report. If you are using version 4.3, then you can also associate hidden data items in relational reports.
Note: Beginning with SAS Web Report Studio 4.2, you must have the capability to link reports. If you do not see the menu option, contact your system administrator.
There is no Subsidiary prompt in the Shoe Sales Detail Report. So, do not select a prompt to associate with the Subsidiary data item.
Note: In version 3.1, the data items are on the left and the prompts are on the right. This order is reversed beginning with version 4.2. In addition, if the target report has multiple sections, you can select the first section to display.
Version 3.1 |
Version 4.2 and later |
For more information about SAS Web Report Studio, see the SAS Web Report Studio documentation page.
For more information about SAS Information Map Studio, see the SAS Information Map Studio documentation page.
SAS Global Forum 2008 Paper 064-2008: SAS Web Report Studio Tips and Techniques
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
Type: | Sample |
Topic: | Query and Reporting ==> Interactive Querying Query and Reporting Data Management ==> Data Sources ==> Information map |
Date Modified: | 2008-04-14 16:47:15 |
Date Created: | 2007-07-11 13:43:21 |
Product Family | Product | Host | Product Release | SAS Release | ||
Starting | Ending | Starting | Ending | |||
SAS System | SAS Web Report Studio | Microsoft® Windows® for x64 | 3.1 | 9.1 TS1M3 SP4 | ||
Microsoft Windows 2000 Advanced Server | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Datacenter Server | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Server | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows 2000 Professional | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows NT Workstation | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows Server 2003 Standard Edition | 3.1 | 9.1 TS1M3 SP4 | ||||
Microsoft Windows XP Professional | 3.1 | 9.1 TS1M3 SP4 | ||||
64-bit Enabled AIX | 3.1 | 9.1 TS1M3 SP4 | ||||
64-bit Enabled Solaris | 3.1 | 9.1 TS1M3 SP4 | ||||
HP-UX IPF | 3.1 | 9.1 TS1M3 SP4 |