Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

MDX Basic query

$
0
0
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 ROWSFROM [Adventure Works]WHERE ( [Sales Territory].[Southwest] )

Viewing all articles
Browse latest Browse all 1341

Trending Articles