0
創建MDX查詢:失敗,並在一個軸在同一heierarchy並在MDX查詢
with member [DTime.TimeYearQuaterMonthDayTimestamp].[Times] as
Aggregate({[DTime.TimeYearQuaterMonthDayTimestamp].[2013].[4].[11].[17],
[DTime.TimeYearQuaterMonthDayTimestamp].[2013].[4].[11].[18]}
)
SELECT {[DTime.TimeYearQuaterMonthDayTimestamp].[Year].[Month} ON 1,
{Measures.Price} ON 0
FROM [Sales]
WHERE ([DEndAuction].[true],[DTime.TimeYearQuaterMonthDayTimestamp].[Times])
但鍛鍊是拋出異常:
Caused by: mondrian.olap.MondrianException: Mondrian Error:Hierarchy '[DTime.TimeYearQuaterMonthDayTimestamp]' appears in more than one independent axis.
你能幫助我嗎?如何改進這個在練習中不會拋出異常的查詢?
沒有人能幫助我嗎? –