SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62005: SAS® Visual Analytics might display "An element cannot be aggregated" when you create an aggregated measure

DetailsHotfixAboutRate It

When defining the expression for an aggregated measure, SAS Visual Analytics might display the following errors in the New Calculated Item dialog box:

Operand can only be aggregated, but this operator does not support aggregation. 
An element cannot be aggregated.

This problem can occur when you try to use a character parameter with IF/THEN/ELSE operators.

In the following example, Parameter 2 is a character parameter:

This is how the expression appears in text:

 

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Visual AnalyticsLinux for x648.28.3ViyaViya
* 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.