我对 MDX 很陌生,无法弄清楚如何订购以下 MDX 查询...
WITH
MEMBER Measures.YTD2010 as 'Aggregate(YTD(Date.CurrentMember), Measures.Value)'
MEMBER Measures.YTD2009 as 'Aggregate(YTD(ParallelPeriod(Date.Year, 1, Date.CurrentMember)), Measures.Value)'
SELECT {
[Measures].YTD2009,
[Measures].YTD2010
} ON COLUMNS,
Order({ [Entity].[Name].Members }, [Measures].YTD2010, DESC) ON ROWS
FROM [Carbon]
WHERE [Date].[Year].[2010]
如您所见,我想订购度量“YTD2010”
非常感谢任何帮助。