I have SQL query SELECT YEAR(DATE),SUM(AMOUNT) FROM TABLE WHERE DATE BETWEEN '2017-09-01' AND '2018-09-30' GROUP BY YEAR(DATE).
This will give me sum of amount for 2017 and 2018 for selected date range. Same I am trying in mdx query with date dimension
SELECT {[Date].[year].CurrentMember*[Measures].[departureUpsellRevenue]} ON COLUMNS,{[Date].[2017].[09].[1]:[Date].[2018].[09].[30]} ON ROWS FROM [CUBE]
its giving me error Mondrian Error:Hierarchy '[Date.calendar]' appears in more than one independent axis.