|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: 2 days ago @ 6:46 AM
Points: 1,
Visits: 47
|
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 11:25 PM
Points: 946,
Visits: 1,739
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 6:56 AM
Points: 365,
Visits: 2,912
|
|
| MDX is something I have not had the opportunity to delve in, but wanted to know more about. This is a great introduction and I look forward to the rest of the series.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 5:37 AM
Points: 1,054,
Visits: 687
|
|
| Great article, i am looking forward for the series
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, June 06, 2013 8:42 AM
Points: 56,
Visits: 153
|
|
"MDX query can have up to 128 axes"… So I tried this:
SELECT {[Measures].[Internet Sales Amount], [Measures].[Internet Order Count]} on axis(0) , {[Date].[Fiscal Year].members} on axis (1) , [Customer].[Country].members on axis(2) FROM [Adventure Works]
And received an error: Results cannot be displayed for cellsets with more than two axes. So, are there additional rules for more-than-2-axis queries? I'd like visualize such a query...
Thank you, - Tatyana
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, April 16, 2013 12:59 PM
Points: 2,
Visits: 33
|
|
| This is a great introduction to MDX world.
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 11:25 PM
Points: 946,
Visits: 1,739
|
|
yanaty999 (3/2/2011) "MDX query can have up to 128 axes"… So I tried this:
SELECT {[Measures].[Internet Sales Amount], [Measures].[Internet Order Count]} on axis(0) , {[Date].[Fiscal Year].members} on axis (1) , [Customer].[Country].members on axis(2) FROM [Adventure Works]
And received an error: Results cannot be displayed for cellsets with more than two axes. So, are there additional rules for more-than-2-axis queries? I'd like visualize such a query...
Thank you, - Tatyana
Good observation. SSMS has a limitation. It cannot visualize cell sets beyond 2 axes. So, if the need arises, you will have a build your own application consuming the ADOMD.NET assemblies. This is the the only approach I can think of, until unless the MS itself starts offering a custom solution. All the best!!!
Regards/Raunak Now a member of Linkedin
Please visit the all new Performance Point Forum Please visit the all new Data Mining and Business Analytics Forum
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, April 16, 2013 12:59 PM
Points: 2,
Visits: 33
|
|
I think what you are trying to do is getting [Internet Sales Amount] and [Internet Order Count] breaking down by all [Fiscal Year] and [Customer].[Country], so
Try this:
SELECT {[Measures].[Internet Sales Amount], [Measures].[Internet Order Count]} on axis 0, {[Date].[Fiscal Year].members} * {[Customer].[Country].members} on axis 1 FROM [Adventure Works]
If this is not what you are trying to do let me know.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, June 06, 2013 8:42 AM
Points: 56,
Visits: 153
|
|
Thank you, Alvaro. Yes, your query gives me a result I wanted. I just thought that this could be done, as well, with the "pages" axis (mentioned in the article). Now I see, from the Raunak's answer to my question, that SSMS's limitations would not allow to explicitly use the third (and up) dimension... Oh well :) Thank you! Tatyana
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 16, 2011 7:07 AM
Points: 1,
Visits: 22
|
|
| Looking for next in the series. Nice introducton to MDX. It helps a lot
|
|
|
|