SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


MDX Guide for SQL Folks: Part II - Hierarchies and Functions


MDX Guide for SQL Folks: Part II - Hierarchies and Functions

Author
Message
Frank Banin
Frank Banin
Valued Member
Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)

Group: General Forum Members
Points: 70 Visits: 425
Comments posted to this topic are about the item MDX Guide for SQL Folks: Part II - Hierarchies and Functions

Frank Banin
BI and Advanced Analytics Professional.
Ken Wymore
Ken Wymore
SSCertifiable
SSCertifiable (5K reputation)SSCertifiable (5K reputation)SSCertifiable (5K reputation)SSCertifiable (5K reputation)SSCertifiable (5K reputation)SSCertifiable (5K reputation)SSCertifiable (5K reputation)SSCertifiable (5K reputation)

Group: General Forum Members
Points: 5042 Visits: 2371
Excellent article! The way you break down the MDX language is fantastic. These articles will definitely be book marked as training resources for our team. :-D
Kevin Kunz-193240
Kevin Kunz-193240
SSC Rookie
SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)SSC Rookie (27 reputation)

Group: General Forum Members
Points: 27 Visits: 585
I remember back when I was first learning MDX I looked over so many books and sites that tried to teach MDX and none simplified it like this article, if only you had started this 2 years ago! Seriously well written!!
Cary Davis
Cary Davis
SSC Rookie
SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)

Group: General Forum Members
Points: 39 Visits: 319
Where was this article 2 years ago when I was beating my head against MDX? Probably the most helpful I've come across on the site. When I rated it I accidently fat fingered the rating and gave it 1 star! There's no way to go back and change it Blush
robert.gerald.taylor
robert.gerald.taylor
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1791 Visits: 1484
Frank Banin (12/18/2012)
Comments posted to this topic are about the item <A HREF="/articles/MDX/91730/">MDX Guide for SQL Folks: Part II - Hierarchies and Functions </A>

Very good article.

There does seem to be a few typos in areas:

Missing &
SELECT
(
[Measures].[Internet Sales Amount]
,[Product].[Category].[Bikes]
,[Sales Territory].[Sales Territory Group].&[Europe]
,[Sales Territory].[Sales Territory Group].[North America]
,[Sales Territory].[Sales Territory Group]. [Pacific]
)
ON COLUMNS
FROM [Adventure Works];



should be:

SELECT
(
[Measures].[Internet Sales Amount]
,[Product].[Category].[Bikes]
,[Sales Territory].[Sales Territory Group].&[Europe]
,[Sales Territory].[Sales Territory Group].&[North America]
,[Sales Territory].[Sales Territory Group].&[Pacific]
)
ON COLUMNS
FROM [Adventure Works];



A missing comma after COLUMNS
SELECT
[Measures].[Internet Sales Amount] ON COLUMNS
{
[Sales Territory].[Sales Territory Group].&[Europe],
[Sales Territory].[Sales Territory Group].&[North America],
[Sales Territory].[Sales Territory Group].&[Pacific]
} ON ROWS
FROM [Adventure Works]
WHERE [Product].[Category].[Bikes];



None of these are big deals, but they will cause a person new to MDX some consternation.

Well done,
Rob
Frank Banin
Frank Banin
Valued Member
Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)

Group: General Forum Members
Points: 70 Visits: 425
KWymore and Kevin Kunz-193240, thanks for you comments coming from veterans like you. I guess after a while you get tired of some SSAS developers making MDX seem like rocket science. I consider myself a BI guy, but I spend a lot of time doing data integration using SSIS which normally constitute about 70% of most BI projects in my opnion. On a good BI project, a well designed cubes are normally just a reflection of a warehouse or Mart, there's nothing so special about it.

Frank Banin
BI and Advanced Analytics Professional.
Frank Banin
Frank Banin
Valued Member
Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)Valued Member (70 reputation)

Group: General Forum Members
Points: 70 Visits: 425
Cary Davis, No problem about the rating, it happens. I actually just added some skill set on my LinkedIn (http://www.linkedin.com/profile/view?id=11356645&trk=hb_tab_pro_top), an endorsement of MDX from any of you guys will be appreciated.


robert.gerald.taylor, thanks for catching those errors and the corrections.

Merry Christmas and a happy new year to you all.
:-D

Frank Banin
BI and Advanced Analytics Professional.
Adam Aspin
Adam Aspin
SSC-Addicted
SSC-Addicted (445 reputation)SSC-Addicted (445 reputation)SSC-Addicted (445 reputation)SSC-Addicted (445 reputation)SSC-Addicted (445 reputation)SSC-Addicted (445 reputation)SSC-Addicted (445 reputation)SSC-Addicted (445 reputation)

Group: General Forum Members
Points: 445 Visits: 1032
Excellent article - thanks you!
Neha05
Neha05
Mr or Mrs. 500
Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)

Group: General Forum Members
Points: 516 Visits: 60
Nice article!
Neha05
Neha05
Mr or Mrs. 500
Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)Mr or Mrs. 500 (516 reputation)

Group: General Forum Members
Points: 516 Visits: 60
Excellent article
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search