dbTalk Databases Forums  

One-to-Many Member Properties

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


Discuss One-to-Many Member Properties in the microsoft.public.sqlserver.olap forum.



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

Default One-to-Many Member Properties - 10-19-2004 , 10:08 AM






I have a question relating to dimension members that I hope has an
easy answer that I'm just missing.

Here's the situation: We have a sales cube with a dimension called
"Accounts". Currently the member properties of the "Accounts"
dimension are address, city, state, and zip. The problem I have is
with an additional property of the accounts called "orgMembership".
Each account can be a member of zero or more organizations. This is
stored in the relational schema as an integer field made up of bit
flags for each organization (1 = Org 1, 2 = Org 2, 4 = Org 3, etc.).
I need to be able to represent this in the sales cube. I suppose I
could create a dimension for each organization, but I'd like to avoid
doing that if possible (there are 20+ organizations). My original
thought was to create a dimension with a member for each organization,
but then I couldn't figure out how to relate it to the "Accounts"
dimension.

Any suggestions? Thanks in advance,

Sean Carpenter

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

Default RE: One-to-Many Member Properties - 10-20-2004 , 02:53 AM






I'd be tempted to create a virtual dim from the member property. No
maintenance issues and no size issue.

"Sean Carpenter" wrote:

Quote:
I have a question relating to dimension members that I hope has an
easy answer that I'm just missing.

Here's the situation: We have a sales cube with a dimension called
"Accounts". Currently the member properties of the "Accounts"
dimension are address, city, state, and zip. The problem I have is
with an additional property of the accounts called "orgMembership".
Each account can be a member of zero or more organizations. This is
stored in the relational schema as an integer field made up of bit
flags for each organization (1 = Org 1, 2 = Org 2, 4 = Org 3, etc.).
I need to be able to represent this in the sales cube. I suppose I
could create a dimension for each organization, but I'd like to avoid
doing that if possible (there are 20+ organizations). My original
thought was to create a dimension with a member for each organization,
but then I couldn't figure out how to relate it to the "Accounts"
dimension.

Any suggestions? Thanks in advance,

Sean Carpenter


Reply With Quote
  #3  
Old   
Sean Carpenter
 
Posts: n/a

Default Re: One-to-Many Member Properties - 10-20-2004 , 11:27 AM



I'm not sure I understand. The problem is that each Account can be a member
of more than one organization. I don't want a dimension that has a member
for every possible combination of organizations. I think this is what would
happen if I did this. Am I missing something?

Thanks,
Sean Carpenter

"HWUK" <HWUK (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'd be tempted to create a virtual dim from the member property. No
maintenance issues and no size issue.

"Sean Carpenter" wrote:

I have a question relating to dimension members that I hope has an
easy answer that I'm just missing.

Here's the situation: We have a sales cube with a dimension called
"Accounts". Currently the member properties of the "Accounts"
dimension are address, city, state, and zip. The problem I have is
with an additional property of the accounts called "orgMembership".
Each account can be a member of zero or more organizations. This is
stored in the relational schema as an integer field made up of bit
flags for each organization (1 = Org 1, 2 = Org 2, 4 = Org 3, etc.).
I need to be able to represent this in the sales cube. I suppose I
could create a dimension for each organization, but I'd like to avoid
doing that if possible (there are 20+ organizations). My original
thought was to create a dimension with a member for each organization,
but then I couldn't figure out how to relate it to the "Accounts"
dimension.

Any suggestions? Thanks in advance,

Sean Carpenter




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.