Professional SQL Server Analysis Services 2005 with MDX
Sivakumar Harinath
Stephen R. Quinn
Wiley Publishing, Inc.
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
http://www.wiley.com
2006 Wiley Publishing, Inc.
Published by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
0-7645-7918-5
ISBN-13: 978-0-7645-7918-9
ISBN-10: 0-7645-7918-5
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
1MA/RW/QV/QW/IN
Library of Congress control number: 2005032272
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions.
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HERE-FROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ.
For general information on our other products and services please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. SQL Server is a trademark of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.
About the Authors
Sivakumar Harinath
Sivakumar Harinath was born in Chennai, India. Siva has a Ph.D. in Computer Science from the University of Illinois at Chicago. His thesis title was: "Data Management Support for Distributed Data Mining of Large Datasets over High Speed Wide Area Networks." Siva has worked for Newgen Software Technologies (P) Ltd., IBM Toronto Labs, Canada, and has been at Microsoft since February of 2002. Siva started as a Software Design Engineer in Test (SDET) in the Analysis Services Performance Team and is currently an SDET Lead for Analysis Services 2005. Siva's other interests include high performance computing, distributed systems and high speed networking. Siva is married to Shreepriya and had twins Praveen and Divya during the course of writing this book. His personal interests include travel, games/sports (in particular, Chess, Carrom, Racquet Ball, Board games) and Cooking. You can reach Siva at
Stephen Quinn
Stephen Quinn was born in San Luis Obispo, California. Stephen has a Masters degree (1988) in Cognitive Psychology from California State University, Chico and is scheduled to receive his Masters of Business Administration (MBA) from the University of Washington, Seattle, in June 2006. Stephen is married to Katherine and is raising his daughter, Anastasia. He has been in most roles common to the R&D environment i.e., software developer, technical writer, technical support specialist and several quality assurance roles. Stephen has published some 20 articles in the magazines Byte, InfoWorld and Datamation. With 15+ years of software experience; Stephen has worked the last 8 years at Microsoft; most recently as a Technical Writer in SQL User Education and before that, for several years as Test Manager in the SQL Business Intelligence Unit. You can reach Stephen at
Credits
Executive Editor
Robert Elliot
Development Editor
Adaobi Obi Tulton
Technical Editor
Leah Etienne
Dylan Huang
Tom Mathews
Production Editor
Pamela Hanley
Copy Editor
Kim Coffer
Editorial Manager
Mary Beth Wakefield
Production Manager
Tim Tate
Vice President and Executive Group Publisher
Richard Swadley
Vice President and Executive Publisher
Joseph B. Wikert
Project Coordinator
Michael Kruzil
Graphics and Production Specialists
Beth Brooks
Andrea Dahl
Lauren Goddard
Denny Hager
Stephanie D. Jumper
Lysney Osborn
Jill Proll
Alicia B. South
Amanda Spagnuolo
Quality Control Technician
John Greenough
Media Development Project Supervisor
Laura Atkinson
Proofreading
Shannon Ramsey
Indexing
Techbooks
I dedicate this book in the grandest possible manner to my dear wife Shreepriya who has been fully supportive and put up with me disappearing from home and the late nights when I worked on this book. It is also dedicated to my two month old twins Praveen and Divya who do not know what a book is yet. I wish their cute photographs could be on the cover page. I dedicate this book in memory of my father Harinath Govindarajalu who passed away in 1999 who I am sure would have been proud of this great achievement and to my mother Sundara Bai. Finally, dedicate the book to my inlaws Sundaravathanem Sanjeevi and Geethalakshmi Sanjeevi who have been very supportive and helping during the last six months.
Sivakumar Harinath
I dedicate my contribution to this book to the woman who was most supportive and encouraging about the project. That would be my wife, Kyung Eun (Katherine) Quinn. Also, I would like to dedicate this to my kid, Anastasia who would have preferred I spent much of that writing time with her. To my mother, Roselma Quinn who tolerated incessant last minute changes of plan due to book-related work. And my father, Stephen Thomas Quinn, who tolerated my whining about how much work this book was to produce. Finally, to my MBA study team, thanks to everyone on the team; Jim Braun, Liz Younger, Michael Styles, Kevin Heath, Eduardo Alvarez-Godinez, and Dave Lovely for being understanding about what I was going through.
Stephen R. Quinn
In memory of all those who have been devastated due to the natural calamities in the last two years such as the South Asian Tsunami, Storms Katrina and Rita in the United States and earthquakes in India and Pakistan.