QTD
Description:
This function is used to return a set of sibling members from the same level as a given member, starting with the first sibling and ending with the given member, as constrained by the Quarter level in the Time dimension.
Syntax:
Qtd( [ Member_Expression ] )
Return type:
SET
Parameters:
Parameter | Description |
|---|---|
Member_Expression | It is a valid MDX expression that returns a member. |
Example:
with member [Measures].[SQTD] as
Sum(QTD([Date].[Calendar].[Calendar Quarter].&[2011]&[1]&[1]),
[Measures].[Reseller Order Quantity])
SELECT [Measures].[SQTD] ON 0
FROM [AdventureWorksMF]