SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 14756: Unexpected results returned when ordering SAS OLAP data in SAS 9.1.3 SP2

DetailsHotfixAboutRate It
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

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS OLAP ServerTru64 UNIX9.1 TS1M3 SP29.1 TS1M3 SP3
64-bit Enabled AIX9.1 TS1M3 SP29.1 TS1M3 SP3
OpenVMS Alpha9.1 TS1M3 SP29.1 TS1M3 SP3
64-bit Enabled HP-UX9.1 TS1M3 SP29.1 TS1M3 SP3
HP-UX IPF9.1 TS1M3 SP29.1 TS1M3 SP3
Linux on Itanium9.1 TS1M3 SP29.1 TS1M3 SP3
Linux9.1 TS1M3 SP29.1 TS1M3 SP3
z/OS9.1 TS1M3 SP29.1 TS1M3 SP3
64-bit Enabled Solaris9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows 2000 Professional9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows 2000 Server9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows NT Workstation9.1 TS1M3 SP29.1 TS1M3 SP3
Microsoft Windows XP Professional9.1 TS1M3 SP29.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.