Solve orders will not solve your problem - the MDX definition for Money
should incorporate a roll-up of leaf-level values, per your requirement.
See this post:
http://groups.google.com/groups?hl=e...8&selm=eD4CYDF
7DHA.1596%40TK2MSFTNGP10.phx.gbl
Quote:
|
From: Deepak Puri (deepak_puri (AT) progressive (DOT) com)
|
Subject: Re: Help with MDX query solve order
View: Complete Thread (2 articles)
Original Format
Newsgroups: microsoft.public.sqlserver.olap
Date: 2004-02-05 17:32:08 PST
The problem does not lie in solve orders, rather in how
[Statistic].[Sales].[Net Proj] is defined, since it does not sum up the
contributions for each outlet. Try this:
Quote:
|
Member [Statistic].[Sales].[Net Proj] as
|
'Sum(Descendants([Outlets],CurrentMember,,LEAVES),
(StatDate.[2004].[1], [Statistic].[Sales].[Net TRGT],
[Measures].[Value]) *
(StatDate.[2004].[1].[5],
[Statistic].[Sales].[Net Act] , [Measures].[QTD]) /
(StatDate.[2004].[1].[5], [Statistic].[Sales].[Net TRGT],
[Measures].[QTD]))', solve_order = 4, format = '0'
- Deepak
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!