|
|
 |
BOOK: Professional SQL Server Analysis Services 2005 MDX ISBN: 0-7645-7918-5  | This is the forum to discuss the Wrox book Professional SQL Server Analysis Services 2005 with MDX by Sivakumar Harinath, Stephen R. Quinn; ISBN: 9780764579189 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Professional SQL Server Analysis Services 2005 MDX ISBN: 0-7645-7918-5 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

January 3rd, 2007, 05:16 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Code for "Professional SSAS 2005 with MDX"
I found the example code for "Professional SQL Server Analysis Services 2005 with MDX", chapter 3 (Introduction to MDX) completely useless. I am doing something stupid, or the authors are somewhat careless. An example, the first MDX query in chapter 3:
SELECT Measures.[Internet Sales Amount] on COLUMNS
FROM [Adventure Works]
WHERE ( [Date].[Calendar].[Calendar Quarter].&[2004]&[1],
[Product].[Product Line].[Mountain],
[Customer].[Country].[Australia])
There is no cube [Adventure Works] (it should be [Adventure Works DW]), there is not measure [Internet Sales Amount] (it should be [Sales Amount]), and none of the hierarchy- or levelnames seem to be correct.
This is too much to be corrected. What am I doing wrong?
Leendert.
|

February 20th, 2007, 03:57 AM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am reading this book too.
You might need to 'deploy' this project "Adventure Works" to formulate the same name cube, then it starts to make sense to you.
NewBee.
|

September 12th, 2007, 07:16 PM
|
|
Authorized User
|
|
Join Date: Jul 2006
Location: Redmond, WA, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Leendert,
Could you please open the sample Adventure Works DW project provided with the product and deploy it on to the Analysis Services? Then this query should work. Chapter 3 requests you to deploy the project.
Some of the MDX queries in this chapter are provided as examples to illustrate the fundamental topics. Some query results might have changed from SQL Server RTM version to Service Pack 2 due to the changes in the Adventure Works DW relational database.
Regards
Siva
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |