dbTalk Databases Forums  

Reference dimension

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


Discuss Reference dimension in the microsoft.public.sqlserver.olap forum.



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

Default Reference dimension - 10-18-2006 , 09:31 AM






Hi all,

I try to create a reference dimension based on a named calculation.
By base dim (dim_base) looks like this in the DSV:

timekey
Year
Month
Day
Ref_id <-- named calculation

Ref_id contains N'Current Period'. I create a dimension based on ref_id. It
has one member called Caluclations.

The base dimension is connected to fact by the timekey.
everything process fine. When add the ref_dimension in the dimension usage
tab, I select referenced as relation type, the intermediate dimension is
dim_base, the reference dimension attribute is Caluclations. And now comes
the problem: I should choose for the intermediate dimension attribute ref_id.
But I cannot see it.

However, when I use the time intelligence wizard, it also creates its own
ref_id in the dsv tables, for example calc_id. And when I follow the same
steps above I can see the calc_id attribute.

I try to determine the difference between the two attributes but I can not
find any.

Can anyone shed a light on this?

Thanks.
Q







Reply With Quote
  #2  
Old   
Marco Russo
 
Posts: n/a

Default Re: Reference dimension - 10-19-2006 , 03:05 AM






Try to check the attribute Ref_id on dim_base: it should have
AttributeHierarchyEnabled set to TRUE, otherwise you can't use it.

Marco Russo
http://www.sqlbi.eu
http://www.sqljunkies.com/weblog/sqlbii

Qbee wrote:
Quote:
Hi all,

I try to create a reference dimension based on a named calculation.
By base dim (dim_base) looks like this in the DSV:

timekey
Year
Month
Day
Ref_id <-- named calculation

Ref_id contains N'Current Period'. I create a dimension based on ref_id. It
has one member called Caluclations.

The base dimension is connected to fact by the timekey.
everything process fine. When add the ref_dimension in the dimension usage
tab, I select referenced as relation type, the intermediate dimension is
dim_base, the reference dimension attribute is Caluclations. And now comes
the problem: I should choose for the intermediate dimension attribute ref_id.
But I cannot see it.

However, when I use the time intelligence wizard, it also creates its own
ref_id in the dsv tables, for example calc_id. And when I follow the same
steps above I can see the calc_id attribute.

I try to determine the difference between the two attributes but I can not
find any.

Can anyone shed a light on this?

Thanks.
Q


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.