dbTalk Databases Forums  

Combining two attribute members

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


Discuss Combining two attribute members in the microsoft.public.sqlserver.olap forum.



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

Default Combining two attribute members - 12-27-2006 , 08:36 AM






How can I create a new attribute member from the sum of two other attributes
members? Example, We receive contributions. Each gift has a type of
contribution (Attribute) such as Gift and gift adjustment. What I need is to
be able to drop an attribute down that combines these two together as one
attribute.

Thanks for the Help!
--
Marty

Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Combining two attribute members - 12-27-2006 , 10:47 AM






Hi Marty,

Could you provide more details about the data for these dimension
attributes, with examples? If you inspect the Customer dimension table
in Adventure Works Data Source View, the FullName field is a combination
of others - is this similar to what you want?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #3  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Combining two attribute members - 12-28-2006 , 11:04 AM



What about creating a calculated member on the attribute hierarchy - see
[Budget Variance] on the Scenario dimension of Adventure Works for an
example. The MDX expression for the member could be like:

Aggregate({[PaymentType].[Gift],
[PaymentType].[GiftAdjustment]})


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***

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.