I'm using AS2005 and have time dimension with hierarchy as follows:
[yr_dt] --> [yr] --> [hyr] --> [qtr] --> [mon] --> [dt]
Normally, it show full hierarchy when I browse the hierarchy :
e.g. 2006 --> 1 half --> 1 quarter --> Jan --> 2006-01-01T00:00:00
However, after I change the data source view to include more data in specified data range and reprocess the cube, The hierarchy only shows [yr] nothing under [yr].
Only correct year is the last year (i.e. 2006). It show full hierarchy as above.
May I know what's wrong with AS2005. Or is it a bug ? Any method to solve ?
Thanks in advanceHi,
my time dimension has the following relationship:
[yr]
|-- [hyr]
cardinality : many
relationship type: rigid
[hyr]
|-- [qtr]
cardinality : many
relationship type: rigid
[mon]
|-- [qtr]
cardinality : many
relationship type: rigid
[dt]
|-- [mon]
cardinality : many
relationship type: rigid
When I remove all the above relationship and reprocess the cube. It works fine and
the full hierarchy show correctly.
May I know what's wrong with the above hierarchy relationship setting ?
thanks a lot .|||
Are your attributes unique?
i.e.
Year -> 2007
Quarters
Q1, 2007
Q2, 2007
Q3, 2007
Month
January, 2007
February, 2007
Day
1/1/2007
1/2/2007
etc
If they are not unique (i.e. A must imply B in your relationships, you can't have just January since January does not imply January in a specific year) then the aggregations don't work properly.
|||Hi mccpres,
thanks for your reply.
Is that you mean the KeyColumn unique ? or the NameColumn Unique ?
My settings for [Mon] attribute
NameColumn : abbreviation of month (i.e. Jan, Feb ...etc)
KeyColumn : integer value of month (i.e. 1 to 12)
My settings for [Qtr] attribute
NameColumn : 'Q'mm + yyyy (i.e. Q1 2002, Q2 2002 ....etc)
KeyColumn : integer value of year (i.e. 2002, 2003 etc)
Here, NameColumn is unique to corresponding year. But the KeyColumn is not.
So, seems make the NameColumn unique would solve the issue.
Also, there's ValueColumn properties for each attribute. It seems that the ValueColumn should be same as KeyColumn, right ? Then why we need ValueColumn ?
Above maybe just simple questions, but just want to clarify my understanding as I new to ssas. Thanks a lot !|||hi mccpres,
thanks for your reply.
Is that you mean Keycolumn unique or NameColumn unique ?
I change my setting for [qtr] attribute:
NameColumn: 'Q'mm+yyyy (ie. Q1 2002, Q2 2002 ...etc)
KeyColumn: integer value of quarter (i.e. 1, 2, 3, 4 )
for [yr] attribute:
NameColumn : 'Y'+yyyy (ie Y2002, Y2003 ...etc)
KeyColumn: integer value of year (ie 2002, 2003 ...etc)
Here NameColumn for [qtr] is unique to corresponding NameColumn of [yr]. But the KeyColumn is not.
I tried the above settings and seems make the NameColumn unique would solve the issue. right?
Also, is that we should set KeyColumn same as the ValueColumn ?
Above maybe just simple questions, appreciate if anyone can help as I'm new to ssas. thanks!|||Hi,
anyone can help ?
No comments:
Post a Comment