Problem Note 15413: MDX COUNT function with distinct set and EXCLUDEEMPTY option will not
count missing values
When using the MDX COUNT function with the EXLUDEEMPTY parameter, the
function is not counting missing values, even though they are specified
to be included in the set.
For example, the following MDX query should return a value of 1 instead
of 0:
with member measures.test as
'count(distinct(([GEOGRAPHIC].[All GEOGRAPHIC].[MEXICO],
[SALEMONTH].[All SALEMONTH].[Jan])),excludeempty)'
select {([GEOGRAPHIC].[All GEOGRAPHIC].[MEXICO],
[SALEMONTH].[All SALEMONTH].[Jan])} on 0,
[Measures].allmembers on 1 from quartermonth
Using the COUNT function with the EXCLUDEEMPTY parameter should return
the same value as the DISTINCTCOUNT function, but it is not.
Select the Hot Fix tab in this note to access the hot fix for this issue.
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 XP 64-bit Edition | 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: | high |
Topic: | Query and Reporting ==> OLAP (Online Analytical Processing) System Administration ==> Servers ==> OLAP
|
Date Modified: | 2005-10-19 07:28:08 |
Date Created: | 2005-06-01 01:00:12 |