dbTalk Databases Forums  

SSAS2005 Dimension Attribute as Measure

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


Discuss SSAS2005 Dimension Attribute as Measure in the microsoft.public.sqlserver.olap forum.



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

Default SSAS2005 Dimension Attribute as Measure - 10-05-2006 , 05:52 AM






Hi,

I would like to have a budget attribute of a dimension used as measure
for use in a calulation.

What is the statement to use in SSAS2005?

I tried some statements without error but always empty !

Example:

Dimension:
[Store].Budget

Regards, Marco


Reply With Quote
  #2  
Old   
Jéjé
 
Posts: n/a

Default Re: SSAS2005 Dimension Attribute as Measure - 10-05-2006 , 06:59 AM






insure that the "value column" property is setup for your attribute
and use something like:
[Sotre].[Budget].membervalue to retrieve this value.

acessing [Sotre].[Budget].membervalue required that you are at the store
level.

so this:
sum(store.[store attribute].[store attribute].members,
[Sotre].[Budget].membervalue )
or
sum(store.[store hierarchy].[store leaf level].members,
[Sotre].[Budget].membervalue )
return the total budget of ALL stores.


"Marco" <olap (AT) gmsbv (DOT) nl> wrote

Quote:
Hi,

I would like to have a budget attribute of a dimension used as measure
for use in a calulation.

What is the statement to use in SSAS2005?

I tried some statements without error but always empty !

Example:

Dimension:
[Store].Budget

Regards, Marco




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.