I have simply query in MDX to OLAP cube, like below, and I would like to use this query with a T-SQL stored procedure:
SELECT NON EMPTY { [Measures].[Revenue] } ON COLUMNS,
NON EMPTY { ([Basic].[Payment Method].[Payment Method].ALLMEMBERS ) } ON ROWS
FROM [SummaryCube]
How can I create stored procedure in T-SQL which using this query?