I have a query:
SELECT
NON EMPTY { [Item].[123] } ON COLUMNS,
{ [Total Line Value] } ON ROWS
FROM [Sales Analysis]
This returns the total amount sold for an item called “123”. What I’d like to do is split this up so that I’m able to see the total sold for each month of the calender year. Something like:
SELECT
NON EMPTY { [Time].[Year].[Calender 2011].Children, [Item].[123] } ON COLUMNS,
{ [Total Line Value] } ON ROWS
FROM [Sales Analysis]
But this doesn’t work as I intend to do, I just cant get the query right. Any help would be appreciated, thanks.
EDIT:
I’ve also tried this, but to no avail:
SELECT
NON EMPTY { [Time].[Year].[Calender 2011].Children } ON COLUMNS,
{ [Total Line Value] } ON ROWS
FROM [Sales Analysis]
WHERE [Item].[123]
1 Answer