dbTalk Databases Forums  

MDX Calculated Member Help

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


Discuss MDX Calculated Member Help in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lcdmjnd@gmail.com
 
Posts: n/a

Default MDX Calculated Member Help - 11-21-2005 , 06:28 AM






I'm using the following formulas to create calculated members to show
percents of Dimension Product:

Formula 1:
[Sales Dollars] / ([Sales Dollars], [All Product])


Formula 2:
IIF(IsEmpty(([Sales Dollars], Product.Parent)), 1,
[Sales Dollars] / ([Sales Dollars], Product.Parent))


What I want to know is if it is possible to create a single formula for
all dimensions (Products, Cities, States, Countries...)

If I put dimension Product in rows it shows de percent for Products, if
a put Cities it shows the percent for Cities....

Thanks,

LCDM


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.