Re: QTD Funtion --Specific intersection
- From: Deepak Puri <deepak_puri@xxxxxxxxxxxxxxx>
- Date: Sat, 07 Jan 2006 20:03:48 -0800
The problem seems to be in the Sum() function, which can't have 3
arguments:
http://msdn2.microsoft.com/en-us/library/ms145484(en-US,SQL.90).aspx
>>
Sum (MDX)
Returns the sum of a numeric expression evaluated over a set.
Syntax
Sum( Set_Expression [ , Numeric_Expression ] )
...
>>
So try this instead:
Sum(QTD([Time].currentmember),
([Product].&[Apple],[Measures].[Units]))
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***
.
- References:
- QTD Funtion --Specific intersection
- From: aralew
- QTD Funtion --Specific intersection
- Prev by Date: Re: Error calculating averages...
- Next by Date: Re: OleDbException... Connection to the server is lost.
- Previous by thread: QTD Funtion --Specific intersection
- Next by thread: Re: QTD Funtion --Specific intersection
- Index(es):
Relevant Pages
|