dbTalk Databases Forums  

Method to create a calculated member that compares basis 2 Dimensions?

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


Discuss Method to create a calculated member that compares basis 2 Dimensions? in the microsoft.public.sqlserver.olap forum.



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

Default Method to create a calculated member that compares basis 2 Dimensions? - 10-26-2006 , 05:57 PM






I'm working with a SSAS 2000 cube that's built off of a fact table that
has a dimension for Sales Type (Budget, Actual, etc...) and measures
that are defined independently of sales type (e.g. measures such as
'Qty', not 'Actual Qty' or 'Budgeted Qty'). So a user would select
Sales Type = Budget and Measure = Quantity to see Budgeted Qty. This
structure was chosen as we have many different sales types, and wish to
avoid having a huge list of measures, all being basically the same,
just differentiated by type of transaction.

The issue I'm working through now is how to best store/display common
Variance values - Budgeted Qty vs. Actual Qty, for example. I can do
this at the reporting layer, but would like to find a way for users to
be able to manipulate this within the cube itself. Any ideas or
thoughts on options for handling in the cube?

Thanks,


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

Default Re: Method to create a calculated member that compares basis 2 Dimensions? - 10-26-2006 , 06:02 PM






dabluhm wrote:
Quote:
I'm working with a SSAS 2000 cube that's built off of a fact table that
has a dimension for Sales Type (Budget, Actual, etc...) and measures
that are defined independently of sales type (e.g. measures such as
'Qty', not 'Actual Qty' or 'Budgeted Qty'). So a user would select
Sales Type = Budget and Measure = Quantity to see Budgeted Qty. This
structure was chosen as we have many different sales types, and wish to
avoid having a huge list of measures, all being basically the same,
just differentiated by type of transaction.

The issue I'm working through now is how to best store/display common
Variance values - Budgeted Qty vs. Actual Qty, for example. I can do
this at the reporting layer, but would like to find a way for users to
be able to manipulate this within the cube itself. Any ideas or
thoughts on options for handling in the cube?

Thanks,
Realized the subject line is misleading - I'm looking for options that
allow selection of a logical variance value basis 2 members of the same
Dimension (Sales Type in this case) and a measure. Apologies for any
confusion.



Reply With Quote
  #3  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: Method to create a calculated member that compares basis 2 Dimensions? - 10-27-2006 , 01:54 AM



How about defining a calculated member on the Sales Type dimension?

For example,

IIF(<Condotion>, Actual - Budget, Budget - Actual)

Ohjoo

"dabluhm" <dabluhm (AT) gmail (DOT) com> wrote

Quote:
dabluhm wrote:
I'm working with a SSAS 2000 cube that's built off of a fact table that
has a dimension for Sales Type (Budget, Actual, etc...) and measures
that are defined independently of sales type (e.g. measures such as
'Qty', not 'Actual Qty' or 'Budgeted Qty'). So a user would select
Sales Type = Budget and Measure = Quantity to see Budgeted Qty. This
structure was chosen as we have many different sales types, and wish to
avoid having a huge list of measures, all being basically the same,
just differentiated by type of transaction.

The issue I'm working through now is how to best store/display common
Variance values - Budgeted Qty vs. Actual Qty, for example. I can do
this at the reporting layer, but would like to find a way for users to
be able to manipulate this within the cube itself. Any ideas or
thoughts on options for handling in the cube?

Thanks,

Realized the subject line is misleading - I'm looking for options that
allow selection of a logical variance value basis 2 members of the same
Dimension (Sales Type in this case) and a measure. Apologies for any
confusion.




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.