![]() | ![]() | ![]() | ![]() | ![]() |
As shown below, the syntax for the ORDER function uses both a set and a numeric expression as the parameters:
Under the following conditons, the ORDER function returns incorrect results:
In the following example, the set used by the ORDER function is a crossjoin of three dimensions: CARS, Measures, and DATE. Specifically, members of the CARS dimension are crossed with the two measures SALES_SUM (the default) and SALES_N. The crossing of the CARS members and the measures is then crossed with members of the DATE dimension.
Instead of correctly listing both SALES_SUM and SALES_N for each combination of the CARS members and the DATE members, only SALES_N is returned, as shown below:
All DEALERS Chevy Number of values for SALES January Chevy Number of values for SALES January Chevy Number of values for SALES February Chevy Number of values for SALES February Chrysler Number of values for SALES January 1 Chrysler Number of values for SALES January 1 Chrysler Number of values for SALES February 1 Chrysler Number of values for SALES February 1
Click the Hot Fix tab in this note to access the hot fix for this issue.
After the hot fix is applied, both SALES_SUM and SALES_N are listed for each combination of the CARS members and the DATE members.
All DEALERS Chevy Sum of SALES January Chevy Sum of SALES February Chevy Number of values for SALES January Chevy Number of values for SALES February Chrysler Sum of SALES January $20,000.00 Chrysler Sum of SALES February $20,000.00 Chrysler Number of values for SALES January 1 Chrysler Number of values for SALES February 1
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS OLAP Server | z/OS | 9.2 TS2M3 | 9.3 TS1M2 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2008 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Microsoft Windows XP Professional | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Home Premium x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Professional 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Professional x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows 7 Ultimate x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows Vista | 9.2 TS2M3 | 9.3 TS1M2 | ||
Windows Vista for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
64-bit Enabled AIX | 9.2 TS2M3 | 9.3 TS1M2 | ||
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.3 TS1M2 | ||
64-bit Enabled Solaris | 9.2 TS2M3 | 9.3 TS1M2 | ||
HP-UX IPF | 9.2 TS2M3 | 9.3 TS1M2 | ||
Linux | 9.2 TS2M3 | 9.3 TS1M2 | ||
Linux for x64 | 9.2 TS2M3 | 9.3 TS1M2 | ||
OpenVMS on HP Integrity | 9.2 TS2M3 | 9.3 TS1M2 | ||
Solaris for x64 | 9.2 TS2M3 | 9.3 TS1M2 |