Usage Note 40629: "An invalid function was applied to the following DataItem -xxxx: InternalAggregation" in SASĀ® Web Report Studio 3.1
In SAS Web Report Studio 3.1, when displaying a relational report that includes a crosstabulation table, you might see the following error:
Error Rendering the Report (Rendering Content)
An invalid function was applied to the following DataItem - Profit per item : InternalAggregation
Root Cause: com.sas.iquery.strategies.sas.oma.summaryrolap.ROLAPGenerationException: An invalid function was
applied to the following DataItem - Profit per item : InternalAggregation
at com.sas.iquery.strategies.sas.oma.summaryrolap.ProcSummaryROLAPStatement.extractDataItemFunction(Unknown Source)
...
This error occurs when at least one measure used in the table is defined as follows:
- The expression is user-defined.
- The aggregation type is either Defined in expression or Defined in expression (additive).
- The expression references physical data items instead of business data items.
For example, if you create a measure with the expression <<ORSALES.Profit in USD>> / <<ORSALES.Number of Items>>, and you select Defined in expression as the aggregation type, then you will see the error if you attempt to use the measure in a crosstabulation table.
If you are running the latest hot fix of SAS Web Report Studio, you might be able to render the crosstabulation table by hiding the measure. However, even if you are able to hide the measure, the error will occur if the report is synchronized and you modify the section query using the Data selected from pane.
As a workaround, you can use business data instead of physical data, or you can change the aggregation type to something like SUM(argument). If you modify the measure, make sure that you are still getting the expected results.
SAS Web Report Studio 4.2 prevents you from adding this type of measure to crosstabulation tables.
For more information about measures that are not supported in relational crosstabulation tables, see SAS Note 34257.
Operating System and Release Information
| SAS System | SAS Web Report Studio | 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 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Microsoft Windows Server 2003 Enterprise Edition | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Microsoft Windows Server 2003 Standard Edition | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Microsoft Windows XP Professional | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Windows Vista | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| Windows Vista for x64 | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| 64-bit Enabled AIX | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| 64-bit Enabled Solaris | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
| HP-UX IPF | 3.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2010-08-18 16:09:49 |
| Date Created: | 2010-08-18 15:38:28 |