Problem Note 14756: Unexpected results returned when ordering SAS OLAP data in SAS 9.1.3 SP2
A problem that affects the ordering of OLAP data was introduced in SAS
9.1.3 Service Pack 2 (9.1.3 SP2). When calculated members are referenced
in an OLAP report, certain MDX ordering functions may return incorrect
data.
Some of the MDX functions that could display this behavior include the
ORDER function with parameters BASC or BDESC, TOPCOUNT, TOPPERCENT,
BOTTOMPERCENT, and BOTTOMSUM. For example, the syntax for the ORDER
function is:
Order(<Set>, <Numeric Expression>[, ASC | DESC | BASC | BDESC])
The problem occurs with the ORDER function when there is one measure in
the set and a different measure in the numeric expression. Here is a
query that shows the problem:
with
member measures.[&1sales_N] as '[Measures].[SALES_N]'
select
ORDER (CROSSJOIN({[CARS].[All CARS].[Chrysler],
[CARS].[All CARS].[Ford]},
CROSSJOIN({[DEALERS].[All DEALERS].[Finch]},
{[Measures].[&1SALES_N]} )),[Measures].[SALES_n], BASC)
on 0 from mddbcars
Notice that the query is using the calculated measure,
[Measures].[&1SALES_N] in the set and the standard measure,
[Measures].[SALES_n] in the numeric expression.
A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#014756
For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#014756
Operating System and Release Information
SAS System | SAS OLAP Server | Tru64 UNIX | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
64-bit Enabled AIX | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
OpenVMS Alpha | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
HP-UX IPF | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Linux on Itanium | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Linux | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
z/OS | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
64-bit Enabled Solaris | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
Microsoft Windows XP Professional | 9.1 TS1M3 SP2 | 9.1 TS1M3 SP3 |
*
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.
Type: | Problem Note |
Priority: | alert |
Topic: | Query and Reporting ==> OLAP (Online Analytical Processing) System Administration ==> Servers ==> OLAP
|
Date Modified: | 2005-05-06 12:42:04 |
Date Created: | 2005-03-10 15:21:32 |