SSAS2005: LastChild aggregation - data disapears at top date level -
04-27-2006
, 08:37 AM
Hi,
Key issue: It looks like PTS assumes that if there is no data at higher
level, there will be no data at lower level, but this is not a case for
"Last Child" aggregation.
Explanation:
I have date dimension with levels:
Year
Quarter
Month
This is hierarchy, actual Year, Quarter, Month attributes are not visible.
I also have measure group with measure Contracts that has aggregation "Last
child".
Date dimension has values: 2004-12 : 2005-09
In fact table I have following values:
2004-12:NULL (NULL = No fact record)
2005-01:NULL
...
2005-06: NULL
2005-07: 1
2005-08: 1
2005-09:NULL
Point here is that last value in year in NULL or No record. Now, when I drag
Contracts measure into measure area and Date dimension into row area, I have
no data returned. This is because at the end year my contracts value = NULL.
This makes sense. What does not make sense, that at row I cannot expand year
2005 value to see data at quarter/month level. Year 2005 is not shown, as at
the end of the year there is no data. But there is data in month below year!
As front end I am using Microsoft 2003 Office PTS component and PTS that
comes with SSAS. Both have same behaviour.
It looks like PTS assumes that if there is no data at higher level, there
will be no data at lower level, but this is not a case for "Last Child"
aggregation.
Anyone knows fix for this?
I am using SSAS 2005 64bit, no SP1.
Thanks |