I run this query in SSMS 2012
SELECT YTD([Date].[Calendar].[Month].&[2003])ON 0 FROM [Adventure Works];
I am getting this error
Executing the query ... Obtained object of type: Microsoft.AnalysisServices.AdomdClient.CellSet Formatting. Cell set consists of 1 rows and 0 columns. Done formatting. Execution complete
I want to select last twelve months from Cube and aginst that want to show some measures.
EDIT 1:
when I try to fire it against one of the measure it is showing null
SELECT YTD([Date].[Calendar].[Month].&[2003].[8])ON 0 ,
[Measures].[Internet Sales Amount] on 1
FROM [Adventure Works];
output is:
where i am lacking. somebody can redirect me to the right direction