dbTalk Databases Forums  

mdx formula

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


Discuss mdx formula in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sonia G via SQLMonster.com
 
Posts: n/a

Default mdx formula - 07-14-2005 , 04:30 PM






Hi

I am using the formula below in order to accumulate the information until the
current month. In one of the lines I have a calculated member that returns
the percentage when divided two quantities, but this percentage also
accumulating . What I need to do in order this percentage does not accumulate?


The formula in order to accumulate es: Sum({Ytd()} ,[Versión].[Versión].&[1])

Thanks in advanced for your help
SGS


--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...-olap/200507/1

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

Default Re: mdx formula - 07-14-2005 , 06:52 PM






Is the YTD() formula used in a calculated member, which is on a
different dimension than the the percentage member? And, if so, what are
their Solve Orders?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

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

Reply With Quote
  #3  
Old   
Sonia G via SQLMonster.com
 
Posts: n/a

Default Re: mdx formula - 07-19-2005 , 11:57 AM




No, the formula is used in a calcutaded member in the same dimension.

Eje.
Real ABP
Sales 15000 14000
Variable Costs 6000
Total Variable Cost

Reply With Quote
  #4  
Old   
Sonia G via SQLMonster.com
 
Posts: n/a

Default Re: mdx formula - 07-19-2005 , 12:02 PM




No, the formula is used in a calcutaded member in the same dimension.

Eje.
Real ABP
Sales 15000 14000
Variable Costs 6000 8000
Total Variable Cost 7000 9000

Reply With Quote
  #5  
Old   
Sonia G via SQLMonster.com
 
Posts: n/a

Default Re: mdx formula - 07-19-2005 , 12:04 PM




No, the formula is used in a calcutaded member in the same dimension.

Eje.
Real ABP
Sales 15000 14000
Variable Costs 6000 8000
Total Variable Cost 7000 9000

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

Default Re: mdx formula - 07-19-2005 , 08:52 PM



From the example report, it seems that Real and ABP are calculated
members on a different dimension than Sales, Costs, Margin and [% of
Sales]. If that is true, then assigning the SOLVE_ORDER for [% of Sales]
higher than for Real and ABP (default is 0) may stop the accumulation.


- 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.