dbTalk Databases Forums  

Dimension rollup by Name

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


Discuss Dimension rollup by Name in the microsoft.public.sqlserver.olap forum.



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

Default Dimension rollup by Name - 08-15-2006 , 04:16 PM






I have the following dimension in AS2005

SurveyType
QuestionType
QuestionPosition
QuestionSub

QuestionSub is the lowest level and designated as the key. I am using the
Primary Key of the table (need it to join back to the fact), but want the
Dimension to display and rollup the non-unique names...I get multiple members
with the same name at the lowest level...what settings should I use to
eliminate this?

Thanks!

Reply With Quote
  #2  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Dimension rollup by Name - 08-16-2006 , 07:18 AM






Can you post an example of what you are currently seeing and what you
would like to see?

It's possible that you may need to add another, lower level attribute to
use as the key attribute.

--
Regards
Darren Gosbell - SQL Server MVP
Blog: http://www.geekswithblogs.net/darrengosbell

In article <8C9DE31D-25B4-44A3-A41A-F2D87E77AF54 (AT) microsoft (DOT) com>,
JeanineCarroll (AT) discussions (DOT) microsoft.com says...
Quote:
I have the following dimension in AS2005

SurveyType
QuestionType
QuestionPosition
QuestionSub

QuestionSub is the lowest level and designated as the key. I am using the
Primary Key of the table (need it to join back to the fact), but want the
Dimension to display and rollup the non-unique names...I get multiple members
with the same name at the lowest level...what settings should I use to
eliminate this?

Thanks!


Reply With Quote
  #3  
Old   
Jeanine Carroll
 
Posts: n/a

Default Re: Dimension rollup by Name - 08-16-2006 , 09:29 AM



This is what I see:

End of Term
Teaching
Question 23
1
1
1
2
2
2
3
3
3

Where the lowest level 1,2,3 is the name associated with different primary
key..i.e. each 1, 2 and 3 has a different primary key that is used to join
back to the fact table.

I would like to see:

End of Term
Teaching
Question 23
1
2
3

Where regardless of the key, the names are grouped.

Thanks for the response Darren!

"Darren Gosbell" wrote:

Quote:
Can you post an example of what you are currently seeing and what you
would like to see?

It's possible that you may need to add another, lower level attribute to
use as the key attribute.

--
Regards
Darren Gosbell - SQL Server MVP
Blog: http://www.geekswithblogs.net/darrengosbell

In article <8C9DE31D-25B4-44A3-A41A-F2D87E77AF54 (AT) microsoft (DOT) com>,
JeanineCarroll (AT) discussions (DOT) microsoft.com says...
I have the following dimension in AS2005

SurveyType
QuestionType
QuestionPosition
QuestionSub

QuestionSub is the lowest level and designated as the key. I am using the
Primary Key of the table (need it to join back to the fact), but want the
Dimension to display and rollup the non-unique names...I get multiple members
with the same name at the lowest level...what settings should I use to
eliminate this?

Thanks!



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.