It's the first time I touch MDX and I would like to get the query
- Get the average Internet Sales Amount over different cities and different product categories over two fiscal years 2007 and 2008.
The following is my MDX query, but it failed to compile.
SELECT
{ [Geography].[City].CHILDREN } ON COLUMNS,
{ [Product].[Category].CHILDREN } ON ROWS
FROM [Adventure Works]
WHERE (
[Measures].[Measures].[Internet Average Sales Amount],
[Date].[Fiscal Year].&[2007],
[Date].[Fiscal Year].&[2008]
)
The above query come with an error
Query (7, 1) The Fiscal Year hierarchy is used more than once in the Crossjoin function.