SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 40077: MDX to-date functions might return incorrect values when used with other calculated members

DetailsHotfixAboutRate It

If a calculated member exists on the Time dimension and is used with an MDX to-date function (such as YTD, MTD, and PeriodsToDate), the resulting value might be incorrect.

For example, here's a query that has a calculated member for Time that is at the Quarter level:

WITH
  MEMBER [Time].[All Time].[1993].[myaggr] as AGGREGATE([Time].[All Time].[1993].[2])
  MEMBER [Measures].[Set] AS SetToStr(YTD(time.currentmember))
SELECT
 NON EMPTY {[Measures].[Set]} ON COLUMNS,
 NON EMPTY [Time].[All Time].[1993].[myaggr] ON ROWS
FROM [SalesCube]

The YTD function will return all four quarters of 1993 rather than the empty set that is expected.

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



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS OLAP Serverz/OS9.2 TS2M09.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS2M09.3 TS1M0
Microsoft® Windows® for x649.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 for x649.2 TS2M09.3 TS1M0
Microsoft Windows Server 2008 for x649.2 TS2M09.3 TS1M0
Microsoft Windows XP Professional9.2 TS2M09.3 TS1M0
Windows Vista9.2 TS2M09.3 TS1M0
Windows Vista for x649.2 TS2M09.3 TS1M0
64-bit Enabled AIX9.2 TS2M09.3 TS1M0
64-bit Enabled HP-UX9.2 TS2M09.3 TS1M0
64-bit Enabled Solaris9.2 TS2M09.3 TS1M0
HP-UX IPF9.2 TS2M09.3 TS1M0
Linux9.2 TS2M09.3 TS1M0
Linux for x649.2 TS2M09.3 TS1M0
OpenVMS on HP Integrity9.2 TS2M09.3 TS1M0
Solaris for x649.2 TS2M09.3 TS1M0
* 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.