May 14, 2014 at 12:51 pm
Hello,
I am trying to get a good understanding of how to write MDX. I have been using SSAS for a few years, but I never had to write MDX queries. So based on the following example this looks like a pivot to me. Also, the ON ROWS part of this query is a Tuple set because there is more than one tuple? A tuple is simple a slice of data correct?
SELECT
{ [Measures].[Sales Amount],
[Measures].[Tax Amount] } ON COLUMNS,
{ [Date].[Fiscal].[Fiscal Year].&[2002],
[Date].[Fiscal].[Fiscal Year].&[2003] } ON ROWS
FROM [Adventure Works]
WHERE ( [Sales Territory].[Southwest] )
The are no problems, only solutions. --John Lennon
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply