In SAS Web Report Studio, you might see the following error message in the data dialog box for a crosstabulation table that is based on relational data:
[Measure...] cannot be included in a crosstab because the aggregation type(s) are not supported
The message might refer to more than one measure. In addition, the measures named in the message do not appear in the dialog box.
Depending on which release of SAS Web Report Studio that you are using, here are the reasons why you might not be able to use a specific measure in a crosstabulation table:
SAS Web Report Studio 4.2 and later
Note: Beginning with version 4.2_M2, SAS Web Report Studio supports distinct aggregation types such as COUNT(Distinct), AVG(Distinct), and SUM(Distinct).
Note: This rule is also enforced if you create a new data item that refers to a measure that is using an unsupported aggregation type such as any of the distinct aggregation types.
<<root.NoDays >> * <<root.CallTime Avg (internal)>>
because CallTime Avg (internal)
is interpreted as being a reference to the AVG()
aggregation type. SAS Web Report Studio 3.1
Note: This rule is also enforced if you create a new data item that refers to a measure that is using an unsupported aggregation type such as any of the distinct aggregation types.
<<root.NoDays >> * <<root.CallTime Avg (internal)>>
because CallTime Avg (internal)
is interpreted as being a reference to the AVG()
aggregation type.Possible Alternatives
In some cases, if you are using SAS Web Report Studio 3.1, changing the aggregation type to Defined in expression (additive) will enable you to include a distinct calculation in a crosstabulation table.
Depending on your requirements, inserting a Text Object that contains the non-additive measure beneath the table might meet your needs.
For related information, also see SAS Note 35430.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
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 |
Type: | Usage Note |
Priority: | |
Topic: | Data Management ==> Data Sources ==> Information map Query and Reporting ==> Interactive Querying Query and Reporting |
Date Modified: | 2009-04-02 10:39:06 |
Date Created: | 2008-12-17 15:13:27 |