dbTalk Databases Forums  

% Contribution

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


Discuss % Contribution in the microsoft.public.sqlserver.olap forum.



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

Default % Contribution - 08-10-2004 , 01:45 PM






Hi there

I have a Store Dimension with 15 Stores, across time. I
have two one measure, Sales and Units.

I want to calculate a "new measure" where I say, "Take
each stores sales, and work its contribution to the total
stores displayed as percentage.

Any ideas anyone.

Regards

Granville


Reply With Quote
  #2  
Old   
Jay Nathan
 
Posts: n/a

Default Re: % Contribution - 08-10-2004 , 09:41 PM






Are you trying to calculate contribution percentage of total contribution
(profit) or just revenue?

Profit:
Store Contribution / Total Contribution = % Contribution

Revenue
Store Revenues / Total Revenues = % Revenue (this is the same calculation)


Does this answer your question?


--
Jay Nathan
MARINER
http://www.mariner-usa.com

http://www.jaynathan.com/blog


"Granville" <granville (AT) ananzi (DOT) co.za> wrote

Quote:
Hi there

I have a Store Dimension with 15 Stores, across time. I
have two one measure, Sales and Units.

I want to calculate a "new measure" where I say, "Take
each stores sales, and work its contribution to the total
stores displayed as percentage.

Any ideas anyone.

Regards

Granville




Reply With Quote
  #3  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: % Contribution - 08-10-2004 , 11:51 PM



Will the following calculated member work for you

CREATE MEMBER Sales.Measures.Contribution AS ' Measures.Sales /
(Store.CurrentMember.Parent, Measures.Sales) ', FORMAT_STRING = 'Percent'

--
==================================================
Mosha Pasumansky - http://www.mosha.com/msolap
Yukon information at http://www.mosha.com/msolap/yukon.htm
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================

"Granville" <granville (AT) ananzi (DOT) co.za> wrote

Quote:
Hi there

I have a Store Dimension with 15 Stores, across time. I
have two one measure, Sales and Units.

I want to calculate a "new measure" where I say, "Take
each stores sales, and work its contribution to the total
stores displayed as percentage.

Any ideas anyone.

Regards

Granville




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.