with Microsoft
®
Kevin S. Goff, Davide Mauri, Sahil Malik, and John Welch
Lynn Langit
Smart Business
Intelligence Solutions
SQL Server
®
2008
Foreword by Donald Farmer
Principal Program Manager, US-SQL Analysis Services
Microsoft Corporation
PUBLISHED BY
Microsoft Press
A Division of Microsoft Corporation
One Microsoft Way
Redmond, Washington 98052-6399
Copyright © 2009 by Kevin Goff and Lynn Langit
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means
without the written permission of the publisher.
Library of Congress Control Number: 2008940532
Printed and bound in the United States of America.
1 2 3 4 5 6 7 8 9 QWT 4 3 2 1 0 9
Distributed in Canada by H.B. Fenn and Company Ltd.
A CIP catalogue record for this book is available from the British Library.
Microsoft Press books are available through booksellers and distributors worldwide. For further infor mation about
international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at
fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress. Send comments to mspinput@microsoft.com.
Microsoft, Microsoft Press, Access, Active Directory, ActiveX, BizTalk, Excel, Hyper-V, IntelliSense, Microsoft Dynamics,
MS, MSDN, PerformancePoint, PivotChart, PivotTable, PowerPoint, ProClarity, SharePoint, Silverlight, SQL Server, Visio,
Visual Basic, Visual C#, Visual SourceSafe, Visual Studio, Win32, Windows, Windows PowerShell, Windows Server, and
Windows Vista are either registered trademarks or trademarks of the Microsoft group of companies. Other product and
company names mentioned herein may be the trademarks of their respective owners.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events
depicted herein are fictitious. No association with any real company, organization, product, domain name, e-mail address,
logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided without any
express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors will
be held liable for any damages caused or alleged to be caused either directly or indirectly by this book.
Acquisitions Editor: Ken Jones
Developmental Editor: Sally Stickney
Project Editor: Maureen Zimmerman
Editorial Production: Publishing.com
Technical Reviewer: John Welch; Technical Review services provided by Content Master, a member of CM Group, Ltd.
Cover: Tom Draper Design
Body Part No. X15-12284
For Mahnaz Javid and for her work
with the Mona Foundation, which she leads
—Lynn Langit, author
v
Contents at a Glance
Part I Business Intelligence for Business Decision Makers
and Architects
1 Business Intelligence Basics ................................3
2 Visualizing Business Intelligence Results ....................27
3 Building Effective Business Intelligence Processes............61
4 Physical Architecture in Business Intelligence Solutions.......85
5 Logical OLAP Design Concepts for Architects ..............115
Part II Microsoft SQL Server 2008 Analysis Services
for Developers
6 Understanding SSAS in SSMS and SQL Server Profiler .......153
7 Designing OLAP Cubes Using BIDS .......................183
8 Refining Cubes and Dimensions ..........................225
9 Processing Cubes and Dimensions........................257
10 Introduction to MDX ...................................293
11 Advanced MDX ........................................329
12 Understanding Data Mining Structures....................355
13 Implementing Data Mining Structures ....................399
Part III Microsoft SQL Server 2008 Integration Services
for Developers
14 Architectural Components of Microsoft SQL Server 2008
Integration Services ....................................435
15 Creating Microsoft SQL Server 2008 Integration Services
Packages with Business Intelligence Development Studio ....463
16 Advanced Features in Microsoft SQL Server 2008
Integration Services ....................................497
17 Microsoft SQL Server 2008 Integration Services Packages
in Business Intelligence Solutions.........................515