dbTalk Databases Forums  

SSAS2005: LastChild aggregation - data disapears at top date level

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss SSAS2005: LastChild aggregation - data disapears at top date level in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vimas
 
Posts: n/a

Default 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




Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: SSAS2005: LastChild aggregation - data disapears at top date level - 04-27-2006 , 09:37 PM






Hello Vimas,

This seems to be current behavior of PTS. Please rest assured this has been
routed to the proper channel. In the meantime, I also encourage you submit
this feedback via the link below

http://lab.msdn.microsoft.com/produc...k/default.aspx

You may want to check if Custom Rollup Formula:
[Date].CurrentMember.LastChild of the Date dimension could work around
this issue.

Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===



This posting is provided "AS IS" with no warranties, and confers no rights.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.