Excel Adding
Excel Adding
RELEASE 9.2.0.0.0
Copyright 19892006 Hyperion Solutions Corporation. All rights reserved. May be protected by Hyperion Patents, including U.S. 5,359,724 and U.S. 6,317,750 Hyperion, the Hyperion logo, and Hyperions product names are trademarks of Hyperion. References to other companies and their products use trademarks owned by the respective companies and are for reference purpose only. No portion hereof may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose other than the recipients personal use, without the express written permission of Hyperion. The information contained herein is subject to change without notice. Hyperion shall not be liable for errors contained herein or consequential damages in connection with the furnishing, performance, or use hereof. Any Hyperion software described herein is licensed exclusively subject to the conditions set forth in the Hyperion license agreement. Use, duplication or disclosure by the U.S. Government is subject to restrictions set forth in the applicable Hyperion license agreement and as provided in DFARS 227.7202-1(a) and 227.7202-3(a) (1995), DFARS 252.227-7013(c)(1)(ii) (Oct 1988), FAR 12.212(a) (1995), FAR 52.227-19, or FAR 52.227-14, as applicable. Hyperion Solutions Corporation 5450 Great America Parkway Santa Clara, California 95054 Printed in the U.S.A.
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Document Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii Sample Databases and Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Where to Find Hyperion Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Additional Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Education Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Consulting Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi xi xi xi
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Introduction to Release 9.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Migration to Release 9.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv New Features in Release 9.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Duplicate Member Name Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv New Features in Release 7x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Compatibility with Hyperion Smart View for Office . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Hyperion Visual Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Support for Excel 2003 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Metadata Sampling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Currency Changes in the Sample Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi Support for Excel 2002 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi CHAPTER 1 Introduction to Analytic Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 About Analytic Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Typical Users of Analytic Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Components of the Client-Server Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 The Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Essbase Spreadsheet Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 The Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Contents
iii
Analytic Servces Application Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Essbase Spreadsheet Toolkit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analytic Services Partitioning Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analytic Services Structured Query Language Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . Analytic Services Application Programming Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analytic Services Currency Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analytic Integration Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Builder.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Database Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Consolidations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
20 20 20 21 21 21 21 21 23 24 24 25 25 25 25
CHAPTER 2 A Basic Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Getting Acquainted with Spreadsheet Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Registering Spreadsheet Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding Spreadsheet Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting Spreadsheet Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing the Essbase Toolbar for Excel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Essbase Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Enabling Mouse Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preparing to Begin the Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Enabling Compatibility with Hyperion Smart View for Office . . . . . . . . . . . . . . . . . . . . . Setting Essbase Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Following Guidelines During the Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reviewing the Sample Basic Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retrieving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting to a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing a Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retrieving Data from a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Canceling a Data Retrieval Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Restoring the Previous Database View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Drilling Down to More Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Drilling Up to Less Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Customizing Drill-Down and Drill-Up Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pivoting, Retaining, and Suppressing Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pivoting Rows and Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retaining a Data Subset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Removing a Data Subset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 28 28 29 30 30 32 33 34 35 35 38 39 39 39 41 41 43 43 44 47 48 50 50 53 55
iv
Contents
Navigating Through the Worksheet Without Retrieving Data . . . . . . . . . . . . . . . . . . . . . . 56 Suppressing Missing Values, Zero Values, and Underscore Characters . . . . . . . . . . . . . . . 59 Formatting the Worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Formatting Text and Cells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Displaying Aliases for Member Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Displaying Both Member Names and Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Repeating Member Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Working with Duplicate Member Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Creating Queries Using Essbase Query Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 About Creating and Changing Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Creating Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Saving Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Applying Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Deleting Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Viewing Messages and Confirmations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Accessing Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Connecting to Multiple Databases from Essbase Query Designer . . . . . . . . . . . . . . . . . . . 86 Applying Worksheet Options to Essbase Query Designer Results . . . . . . . . . . . . . . . . . . . 87 Selecting Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Saving and Disconnecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Saving a Worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Disconnecting from Analytic Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Logging Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 On to Advanced Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 CHAPTER 3 An Advanced Tutorial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Preparing to Begin the Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Connecting to a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Setting Essbase Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Performing Advanced Retrieval Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Filtering Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Sorting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Retrieving Data into Asymmetric Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Drilling Down to a Sample of Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Working with Formatted Worksheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Preserving Formulas When Retrieving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Retrieving a Range of Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Retrieving Data by Using a Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Retrieving Dynamic Calculation Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Specifying the Latest Time Period for Dynamic Time Series . . . . . . . . . . . . . . . . . . . . . . 128 Using Free-Form Reporting to Retrieve Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Retrieving Data Using Hyperion Visual Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Contents
Using Linked Reportng Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linking a File to a Data Cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linking a Cell Note to a Data Cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linking a URL to a Data Cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing and Editing Linked Reporting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting to Multiple Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Ways to View Active Database Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Ways to Access Linked Partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Updating Data on the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Database Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Creating Multiple Worksheets from Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Working with Currency Conversions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retrieving Currency Conversion Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting to the Sample Currency Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performing Ad Hoc Currency Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 164 165 167
CHAPTER 4 Using Drill-Through. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 About Drill-Through . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Before You Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Setting Essbase Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 About the Samples Used in This Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 Using Drill-Through . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing Drill-Through Reports from the Spreadsheet . . . . . . . . . . . . . . . . . . . . . . . . . Selecting Drill-Through Reports to View or Customize . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting and Ordering Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ordering Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Filtering Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 177 182 187 188 190
vi
Contents
Preface
Purpose
This guide provides all the information that you need to use Hyperion System 9 BI+ Essbase Spreadsheet Add-in for Microsoft Excel (hereafter referred to as Spreadsheet Add-in). It explains the features and options and discusses the concepts, processes, procedures, formats, tasks, and examples that you need to use the software. Hyperion System 9 BI+ Analytic Services is an online analytical processing (OLAP) solution that satisfies the complex calculation requirements of financial, accounting, and marketing professionals. Analytic Services operates in a client-server computing environment on a local area network (LAN). In this environment, multiple users can use their desktop computers to retrieve and analyze centralized data. You can create reports from the data residing on the Analytic Server in several ways:
Generate database reports through a spreadsheet interface, called Spreadsheet Add-in, as explained in this guide. Use the Report Script Editor in Hyperion System 9 BI+ Analytic Administration Services to create a report script and run a report. For more information on creating and running report scripts in Report Script Editor, see the Administration Services Online Help. Use Analytic Services Application Programming Interface (API) to create and run database reports. For more information on creating and running reports, see the API Reference. Use reporting tools, such as Hyperion Reporting for Analytic Services.
Audience
This guide is for Analytic Services end users who are responsible for some or all of the following tasks:
Starting Analytic Services and connecting and disconnecting from Analytic Services databases Retrieving data from a database into a worksheet Drilling down, drilling up, and navigating through a worksheet to analyze and arrange data from multiple viewpoints Working with linked reporting objects and linked partitions
vii
Updating data on Analytic Server Using the worksheet to load and calculate data in the database Creating multiple sheets from data Working with currency conversions
Document Structure
The main sections of this guide are structured as tutorials that take you step-by-step through basic and advanced tasks in Spreadsheet Add-in. This document contains the following information:
Introduction to Release 9.0 on page xiii provides information on migrating from previous versions of Analytic Services to the current release and lists all new features and enhancements. Chapter 1, Introduction to Analytic Services, introduces you to basic concepts of retrieving and manipulating data through the spreadsheet interface. Chapter 2, A Basic Tutorial, provides a step-by-step tutorial of basic data navigation, ad hoc retrieval, and reporting techniques. Chapter 3, An Advanced Tutorial, describes advanced reporting and retrieval techniques for users that need special reports or formatted data views. Chapter 4, Using Drill-Through, provides a brief overview of the Analytic Integration Services drill-through product. The Index contains a list of terms and their page numbers. Select or look up an index entry to view the page to which the entry refers.
Note: The Spreadsheet Add-in online help provides a comprehensive section on Essbase Spreadsheet Toolkit. This section enables you to customize and automate your use of Analytic Services by using Excelmacros and Visual Basic for Applications (VBA) functions. For more information on the Spreadsheet Add-in online help, see Accessing Online Help on page 32.
The Essbase Spreadsheet Add-in Users Guide for Excel is provided in PDF format in the \docs\pdf directory of your documentation installation. The .pdf file is named wssexcel.pdf for the Excel add-in. Adobe Acrobat Reader (Release 3.0.1 or higher) is required for online viewing and printing of this file. You can download Adobe Acrobat Reader from the Analytic Services CD-ROM or from http://www.adobe.com. On the CD-ROM, the Acrobat Reader executable file is located in the Adobe directory under the appropriate platform and language-version subdirectories. To install Adobe Acrobat Reader, launch the executable file, follow the prompts, and provide the information requested.
viii
Analytic Services Information Map provides access to all Analytic Services documentation in both PDF and Windows help formats. The Information Map is located at
ARBORPATH/docs/esb_info_map.htm
Online help is accessible from the Spreadsheet Add-in. Start the product and click the Help button in any dialog box in the Spreadsheet Add-in or select Essbase Help from the Help menu. The Hyperion Solutions Web site is located at http://www.hyperion.com. Access to the Hyperion Download Center is through http://hyperion.subscribenet.com.
ix
3 If you are a member on multiple Hyperion Download Center accounts, select the account that you want to
use for the current session.
Visit the Hyperion Solutions Web site at http://www.hyperion.com. In the United States, call Hyperion Solutions Customer Support at 877-901-4975. From outside the United States, including Canada, call Hyperion Solutions Customer Support at 203-703-3600. Clients who are not serviced by support from North America should call their local support centers.
Conventions
The following table shows the conventions that are used in this document:
Table i
Conventions Used in This Document Meaning Arrows indicate the beginning of a procedure, which consists of one or more sequential steps. In examples, brackets indicates that the enclosed elements are optional. Bold in procedural steps highlights major interface elements. Capital letters denote commands and various IDs. (Example: CLEARBLOCK command) Keystroke combinations shown with the plus sign (+) indicate that you should press the first key and hold it while you press the next key. Do not type the plus sign. Courier font indicates that the material shown is a code or syntax example. Courier italic text indicates a variable field in command syntax. Substitute a value in place of the variable shown in Courier italics. Italics in a product-related term in the body of a book indicates that the term is included in the glossary of the book. Italic n stands for a variable number; italic x can stand for a variable number or an alphabet. These variables are sometimes found in formulas. Ellipsis points indicate that text has been omitted from an example. This document provides examples and procedures using a right-handed mouse. If you are using a left-handed mouse, adjust the procedures accordingly. Options in menus are shown in the following format. Substitute the appropriate option names in the placeholders, as indicated. Menu name > Menu command > Extended menu command For example: 1. Select File > Desktop > Accounts.
Item
Additional Support
In addition to providing documentation and online help, Hyperion offers the following product information and support. For details on education, consulting, or support options, visit Hyperions Web site at http://www.hyperion.com.
Education Services
Hyperion offers instructor-led training, custom training, and eTraining covering all Hyperion applications and technologies. Training is geared to administrators, end users, and information systems (IS) professionals.
Consulting Services
Experienced Hyperion consultants and partners implement software solutions tailored to clients particular reporting, analysis, modeling, and planning requirements. Hyperion also offers specialized consulting packages, technical assessments, and integration solutions.
Technical Support
Hyperion provides enhanced electronic-based and telephone support to clients to resolve product issues quickly and accurately. This support is available for all Hyperion products at no additional cost to clients with current maintenance agreements.
Documentation Feedback
Hyperion strives to provide complete and accurate documentation. We value your opinions on this documentation and want to hear from you. Send us your comments by clicking the link for the Documentation Survey, which is located on the Information Map for your product.
xi
xii
This chapter provides compatibility information for Hyperion System 9 BI+ Analytic Services Release 9.0 and previous releases of Analytic Services, including migration information and new feature descriptions and enhancements.
In This Chapter
Migration to Release 9.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv New Features in Release 9.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv New Features in Release 7x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
xiii
Compatibility with Hyperion Smart View for Office on page xv, included in release 7.1.2 Hyperion Visual Explorer on page xv, included in release 7.1 Support for Excel 2003 on page xv, included in release 7.1 Metadata Sampling on page xv, included in release 7.0 Currency Changes in the Sample Applications on page xvi, included in release 7.0 Support for Excel 2002 on page xvi, included in release 7.0
xiv
Metadata Sampling
Analytic Services is a multidimensional database engine that provides support for ad hoc analysis. Such analysis is entirely driven by the intuition of the analyst and can be timeconsuming as data volume increases. Large cubes tend to have more dimensions and sometimes more levels, making hierarchical navigation very cumbersome.
xv
Metadata sampling enables you to analyze large cubes with a focus on data trends or to approximate information in the initial stages. Because you query on a sample of members, retrieval is quick. Metadata sampling enables you to drill down on a portion of the vast amount of members in an Analytic Services database in a fraction of the time that it usually takes to analyze the whole database. You can view many samples in a small amount of time and make early decisions. Later, you can follow with organized data exploration. With the introduction of Hybrid Analysis, you can store part of an Analytic Services cube in a relational database. Metadata sampling enables you to drill down on all of the data that you specify, whether it is in Analytic Services or in an underlying relational database.
Currency Names and Their Abbreviations Abbreviation GBP CAD EUR SEK CHF USD
Currency Name British Pound Canadian Dollar European Union Euro Swedish Krona Swiss Franc United States Dollar
xvi
Chapter
1
This chapter provides an overview of Analytic Services and its users. It includes a description of the Analytic Services client-server environment and the Analytic Services product suite. Finally, this chapter discusses the multidimensional database concepts and database outlines.
In This Chapter About Analytic Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Typical Users of Analytic Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Components of the Client-Server Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Analytic Services Application Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 The Multidimensional Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Database Outlines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
17
Budgeting Forecasting and seasonal planning Financial consolidations and reporting Customer and product profitability analysis Price, volume, and mix analysis Executive information systems
Analytic Services enables you and others in the organization to share, access, update, and analyze enterprise data from any perspective and at any level of detail without learning new tools, query languages, or programming skills.
System administrator. The Analytic Services system administrator typically has experience in networking, installing software packages, and administering system functions. In addition to installing the Analytic Services software, the Analytic Services system administrator may also set up Analytic Services user accounts, set up the security system, and maintain the Analytic Server.
18
Application designer. The application designer sets up the Analytic Services database, creates the database outline, and develops calculation and report scripts. The responsibilities of the Analytic Services system administrator and the application designer may overlap in some areas. The application designer has probably developed spreadsheet or database applications and understands the operational problems and the tools being employed to solve them. User. The user interacts with Analytic Services databases through spreadsheets, using Microsoft Excel for Windows. Users are typically analysts and managers who use spreadsheet programs as their primary tool for viewing and analyzing data.
Figure 1
Excel
TCP/IP
The Server
Analytic Server is a multidimensional database that supports analysis of an unlimited number of data dimensions and an unlimited number of members within these dimensions, developed using a true client-server architecture, All data, the database outline, the calculations, and the data security controls reside on the Analytic Server.
19
The Network
Analytic Services runs on PC-based LANs that support the TCP/IP protocol.
Note: Supported network environments and technical requirements are discussed in detail in the Analytic Services Installation Guide, which is included with the Analytic Services package.
20
Application Builder.NET
Application Builder.NET are ActiveX controls that enable you to build application programs to access and manipulate data residing in multiple instances of Analytic Server. You can combine objects with other controls in a visual design environment to construct new programs.
21
Figure 2
Market
Sales
100-10 100-20 100-30 100
Measures
100-10 Jan
Feb Mar Qtr1
Profit
100-20 Jan
Feb Mar Qtr1
Qtr1 Mar Feb Jan Jan Actual Sales Margin Budget Sales Margin Feb Mar
Qtr1
Year
100-10
East West South Central
Year
East
Actual Budget
Variance
Var%
100-20
Profit
Actual Budget
Variance
Var%
In contrast to the multidimensional view, worksheets stores data in two dimensions, usually time and accounts, as shown in Figure 3:
22
Figure 3
Database Outlines
Understanding the database outline is the key to understanding Analytic Services. To define a multidimensional database, you design its database outline. The database outline contains the database organization (structure), the database members, and the database rules, as shown in Figure 4:
Figure 4
The application designer or Analytic Services system administrator usually creates the database outline. For more information on creating the database outline, see the Analytic Services Database Administrators Guide. The components of the database outline are as follows:
23
Dimensions
Dimensions are the most basic categorical definitions of data within the database outline. You need at least two dimensions to make any meaningful reference to data; for example, a time dimension and an accounts dimension. Other dimensions may categorize products, markets, and scenarios. Using dimensional organization, you can define any consolidation structure or any slice of data that is relevant to the application. Analytic Services supports an unlimited number of dimensions.
Members
Members are the names of the elements within a dimension. A dimension can contain an unlimited number of members. The calculation, reporting, and dimension-building features in Analytic Services use the following terms to describe members.
Parents. A parent is a member with a consolidation branch below it. Figure 5 shows an example of Qtr1 as a parent member because below Qtr1 is a branch containing months as members.
Figure 5
Children. A child is a member with a parent above it. For example, Jan, Feb, and Mar are children of the parent Qtr1. Siblings. A sibling is a child member of the same parent and on the same branch (same level). For example, Jan, Feb, and Mar are siblings. Apr is not a sibling of Jan, Feb, or Mar, however, because it has a different parent, Qtr2.
24
Descendants. A descendant is a member at any level below a parent. For example, each member that falls in the Year branch is a descendant of Year. The following members are all descendants of Year: Qtr1, Jan, Feb, Mar; Qtr2, Apr, May, Jun; Qtr3, Jul, Aug, Sep; Qtr4, Oct, Nov, Dec. Ancestors. An ancestor is a member of a branch above a member. For example, Qtr2 and Year are ancestors of Apr. Generations. The term generation describes the branch number of a member. Generations count from the root of the tree (generation 1, which is the dimension name) toward the leaf node. Levels. The term level describes the branch number of a member. Levels count from the leaf node (level 0) toward the root (the dimension name).
Attributes
Attributes describe characteristics of data, such as the size and color of products. Through attributes, you can group and analyze members of dimensions based on their characteristics. Attribute dimensions must be associated with base dimensions. For more information, see the Analytic Services Database Administrators Guide.
Formulas
Each database member can be associated with one or more formulas in the database outline. For example, the Variance members of the Scenario dimension, as shown in Figure 4 on page 23, contain formulas. Formulas can be simple or complex. For more information on formulas, see the Analytic Services Database Administrators Guide.
Aliases
Analytic Services supports alternative names, or aliases, for database members. Aliases are useful when various labels are used for the same member in various worksheets. One worksheet, for example, may refer to Cost_of_Goods_Sold as COGS. Aliases also can be used for reporting in alternative languages or for more formal output name sets, such as account numbers.
Consolidations
Consolidations in Analytic Services applications are defined by member branches. The database outline determines consolidation paths. The determination is based on the location of members within a dimension. Indentation of one member below another indicates a consolidation relationship. Indenting members is important for the drill-down capabilities in Spreadsheet Add-in. As you navigate through data, you can drill down through levels of consolidations. The database outline is the roadmap that determines the levels of data navigation.
25
26
Chapter
A Basic Tutorial
2
When you add Spreadsheet Add-in to Microsoft Excel, most spreadsheet operations remain unchanged; Spreadsheet Add-in simply adds a new menu, an Essbase toolbar, and mouse shortcuts with which you can access Analytic Services. The tasks described in this tutorial chapter are basic tasks. That is, these are tasks that you probably use often when working with Analytic Services. Chapter 3 describes more advanced tasks. Notice that each tutorial task builds upon the previous task. Therefore, tasks must be completed in succession. The examples used in this tutorial are based on the sample database (called Sample Basic) that is included with the Analytic Services installation. Contact the Analytic Services system administrator for information about accessing the Sample Basic database or about accessing other databases on Analytic Server.
In This Chapter
Getting Acquainted with Spreadsheet Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Preparing to Begin the Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Retrieving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Pivoting, Retaining, and Suppressing Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Formatting the Worksheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Creating Queries Using Essbase Query Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Deleting Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Viewing Messages and Confirmations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Accessing Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Selecting Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Saving and Disconnecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 On to Advanced Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
27
Adding Spreadsheet Add-in on page 28 Starting Spreadsheet Add-in on page 29 Installing the Essbase Toolbar for Excel on page 30 Using the Essbase Toolbar on page 30 Accessing Online Help on page 32 Enabling Mouse Actions on page 33
28
29
30
Table 2 lists the buttons on the toolbar. To view the Essbase toolbar, select View > Toolbars > Essbase from the Excel menu bar. A check box must be displayed next to Essbase in the menu.
Note: If you select the Essbase check box and click Delete, you must reinstall the toolbar. See Installing the Essbase Toolbar for Excel on page 30 for instructions.
Table 2
Essbase Toolbar Buttons Purpose Connect Description Enables you to connect to an instance of Analytic Server. Click the Connect button on the toolbar to display the Essbase System Login dialog box. Toggles the Navigate Without Data feature, which tells Analytic Services to retrieve or not to retrieve data when you perform navigational operations, such as pivot, drill down, drill up, keep only, and remove only. This button serves the same function as the Navigate Without Data check box in the Essbase Options dialog box (Global tab). Retrieve Retrieves data into the active worksheet. A retrieve request places data at the beginning of the active worksheet. When you click the Retrieve button, if you are not already connected to an instance of Analytic Server, the Essbase System Login dialog box is displayed.
Tip: If you have mouse actions enabled, you can retrieve data by doubleclicking the primary mouse button in any empty cell in the worksheet. To enable double-click support, select Essbase > Options, select the Global tab, and select the Enable Double-Clicking option. For more information, see Enabling Mouse Actions on page 33.
Button
Keep only
Retains only the selected member (the active cell) or member range in the worksheet. When you click the Keep Only button, all unselected members are removed from the worksheet. Removes the selected member (the active cell) or member range from the worksheet. When you click the Remove Only button, all unselected members are retained in the worksheet. Retrieves and expands data from Analytic Services according to the options specified in the Essbase Options dialog box. When sampling is enabled (Essbase > Sample Data (Zoom In)), an approximate percentage members of the Analytic Services database that you specify is queried when you retrieve and expand data.
Tip: If you have mouse actions enabled, you can drill down on data by double-clicking the primary mouse button in the cell that contains the member you want to expand. To enable double-click support, select Essbase > Options, select the Global tab, and select the Enable DoubleClicking option. For more information, see Enabling Mouse Actions on page 33.
Remove only
Zoom in
Zoom out
Collapses the view according to the options specified in the Essbase Options dialog box in the cell that contains the member that you want to collapse. To enable double-click support for drilling up, select Essbase > Options, select the Global tab, and select the Enable Double-Clicking option.
31
Table 2
Essbase Toolbar Buttons (Continued) Purpose Open Essbase Query Designer Description Opens the Essbase Query Designer, which makes it easy to define a page orientation for dimensions and selected database members. You can also save queries for later use. Query Designer is designed to create report queries, view attributes, and perform calculations based on attributes. Restores the previous worksheet view.
Button
FlashBack
Set options
Enables you to set display, zoom, mode, style, and global options for the active worksheet to customize the behavior of Spreadsheet Add-in software. Click the Options button to display the Essbase Options dialog box. Enables you to select members from the multidimensional database outline. Click the Member Selection button to display the Essbase Member Selection dialog box. Enables you to attach comments or files to data cells. Click the linked objects button to display the linked objects browser dialog box.
Select members
Access the entire online help system for browsing or searching for information. To access the entire help system, select Help > Essbase Help in Excel. After you access online help, you can browse or search through the system to view general information on Spreadsheet Add-in, Essbase command descriptions, procedural information for completing tasks, Spreadsheet Toolkit macros, and Visual Basic for Applications (VBA) function descriptions.
Access context-specific information from dialog boxes in Spreadsheet Add-in. Each dialog box in Spreadsheet Add-in features a Help button that accesses online help topics that are specific to the particular dialog box. The Help buttons enable you to find the information that you need without having to search through the entire help system.
Note: The Spreadsheet Add-in online help also provides a comprehensive section on Essbase Spreadsheet Toolkit, which enables you to customize and automate your use of Analytic Services by using macros and VBA functions.
Access information on a specific Essbase Query Designer function. Click the Whats This? Help button, , in the Essbase Query Designer dialog box, and then click an item in the dialog box to access information on that item.
32
You can also click the Help button in the navigation pane, Designer tutorial and all online help topics.
Primary mouse button and secondary mouse button describe the buttons on a two- or threebutton mouse. Usually, right-handed users configure the left mouse button as the primary button and the right mouse button as the secondary mouse button. The primary mouse button is the one that you use to start Windows applications, the secondary mouse button is used for auxiliary operations. The term click refers to use of the primary mouse button. The term right-click refers to use of the secondary mouse button.
Select chooses the object that is under the cursor when you press and release the primary mouse button. You can select a worksheet cell, for example, by moving the cursor to the cell and pressing and releasing the primary mouse button.
Click (that is, both click and right-click) describes a quick press-and-release action on a command object. You can click a button, for example, to execute a command.
Double-click describes two quick press-and-release actions that are executed in rapid succession. You can double-click an application icon, for example, to start a Windows application.
Drag describes a press, hold, and move action. You place the cursor on an object, press a mouse button, hold the mouse button down as you move the object, and release the mouse button when you reach your goal. For example, you can highlight a range of cells in a worksheet by dragging the cursor over the cells.
Note: Analytic Services uses a drag operation called a pivot. A pivot requires use of the secondary mouse button. To execute a pivot, you must press and hold the secondary, rather than the primary, mouse button while dragging the selection.
Analytic Services offers enhanced mouse actions in Excel. You can use the mouse to perform any of the following tasks:
Retrieve data Drill down and drill up on database members Pivot (move or transpose) data rows and columns Access linked reporting objects Access linked partitions
33
To enable double-clicking to retrieve, drill down, and drill up on Analytic Services data:
1 Select Essbase > Options. 2 In the Essbase Options dialog box, select the Global tab. 3 Select the Enable Double-Clicking check box.
When the Enable Double-Clicking check box is selected, as shown in Figure 6, you can retrieve and drill down to more detailed data (primary mouse button) and drill up to less detailed data (secondary mouse button). When the double-clicking option is enabled, the in-cell editing feature is overridden.
Figure 6
Enabling Compatibility with Hyperion Smart View for Office on page 35 Setting Essbase Options on page 35 Following Guidelines During the Tutorial on page 38 Reviewing the Sample Basic Database on page 39
34
When Spreadsheet Add-in and Smart View are installed on the same computer, and this check box is selected, mouse clicks are ignored by Spreadsheet Add-in if the sheet being acted upon is connected to a data source other than an Analytic Services application and database (for example, a Hyperion Planning data source).
35
Figure 8
4 Select the Zoom tab. 5 Select the appropriate check boxes and option buttons so that your display of the Zoom tab matches the
illustration shown in Figure 9:
Figure 9
6 Select the Mode tab. 7 Select the appropriate check boxes and option buttons so that your display of the Mode tab matches the
illustration shown in Figure 10.
36
Figure 10
Note: If you are already connected to an Analytic Services database, the Essbase Options dialog box also displays a Style tab. You can skip this tab for now.
8 Select the Global tab. 9 Select the appropriate check boxes and option buttons so that your display of the Global tab matches the
illustration shown in Figure 11.
Figure 11
37
Note: You should have already selected the appropriate boxes for Mouse Actions, as described in Enabling Mouse Actions on page 33.
10 Click OK to save the settings for this session and close the Essbase Options dialog box.
Optional tasks that should not be performed as part of the tutorial are displayed in lightshaded boxes. These tasks are included only for your future reference. You can find more information on these tasks in the Essbase Spreadsheet Add-in online help. You must be connected to the Sample Basic database during the tutorial. If you are not connected to this database, the illustrations presented in this chapter will not match the worksheet view. You can access many Essbase commands in any one of these ways:
By selecting the command from the Essbase menu By clicking the appropriate button on the Essbase toolbar For the Zoom In and Zoom Out commands, by double-clicking either the primary mouse or the secondary mouse button
You must set the options in the Essbase Options dialog box as described in Setting Essbase Options on page 35. If the option settings are different, the illustrations presented in this chapter may not match the worksheet view. After you change a worksheet option in the Essbase Options dialog box, you must perform a retrieval or a drill-down operation to have the new setting take effect. Be sure to follow each step in the tutorial. Each tutorial task builds upon the previous task. Do not skip the final steps at the end of sections, because these steps are often necessary to prepare you for the next tutorial task. If you make a mistake during the tutorial, you can select Essbase > FlashBack to return to the previous worksheet view. The values in the Sample Basic database that represent ratios or percentages are calculated to a very high level of precision (for example, 55.26162826). You can apply a cell format to control the number of decimal places that are displayed in data values. For details on applying cell formats, see the Excel documentation. The numeric values that are shown in the illustrations used throughout this tutorial may not match the values stored in your database. The values shown in these illustrations reflect a freshly loaded database. Some worksheet columns have been adjusted for clarity in the illustrations. You do not need to change the width of columns in the worksheet to follow the tutorial steps. The Adjust Columns option in the Display tab of the Essbase Options dialog box adjusts columns for you.
38
Retrieving Data
Now that you are more familiar with the Analytic Services environment, you can connect to an instance of Analytic Server and start using Analytic Services and Essbase Spreadsheet Add-in. The following section guides you through a typical Analytic Services session where you connect to a database and retrieve data in various ways. This topic outlines the following basic retrieval tasks:
Connecting to a Database on page 39 Changing a Password on page 41 Retrieving Data from a Database on page 41 Canceling a Data Retrieval Request on page 43 Restoring the Previous Database View on page 43 Drilling Down to More Detail on page 44 Drilling Up to Less Detail on page 47 Customizing Drill-Down and Drill-Up Behavior on page 48
Make sure that you followed the steps in Setting Essbase Options on page 35. If the settings in the Essbase Options dialog box are different from the settings previously illustrated, the worksheet view will differ from the illustrations shown in this chapter. Remember that you can perform common data retrieval tasks in any of the following ways:
Select commands from the Essbase menu on the Excel menu bar Double-click the primary or the secondary mouse button in the appropriate cell (for Retrieve, Zoom In, and Zoom Out commands) In Excel, click the appropriate buttons on the Essbase toolbar
Connecting to a Database
To access Analytic Services data, you must first connect to a database on an instance of Analytic Server. This tutorial assumes that you have the appropriate privileges to connect to a server, an application, and a database.
39
To complete the steps that follow, you need to know the name of the server to which you want to connect, your username, and your password. If you do not have this information, contact the Analytic Services system administrator.
Note: Analytic Services does not support multiple instances of Excel.
Figure 12
2 From the Server list box, select the server that you want to access.
If the server name that you want is not displayed in the list, you can type in the name of the server that you want to access.
3 Press Tab to move to the Username text box; type your username in the text box. 4 Press Tab to move to the Password text box; type your password in the text box.
Note: You can change your password when you are connected to a server. To change your password, see Changing a Password on page 41.
A list of available application/database pairs is displayed in the Application/Database list box. Figure 13 shows an example of a list of application/database pairs. A single instance of Analytic Server enables simultaneous access to multiple applications. An application can contain multiple databases. Only the databases to which you have security access are shown in the list. For this tutorial, you use the Sample Basic database. If the Sample Basic database was installed as part of the Analytic Services installation, it is shown in the list. If Sample Basic is not shown in the Application/Database list box, ask the Analytic Services system administrator to install it.
40
Figure 13
6 In the Application/Database list box, double-click Sample Basic. You can also select Sample Basic from
the list box and click OK.
If the application is not already running, Analytic Services automatically starts it. There may be a brief pause as the application loads. The time required to start an application depends on the number of databases, the sizes of the databases, and the sizes of the indexes of the databases contained within the application.
Changing a Password
You can change your password only if you are connected to a server.
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. To change your password: 1. In the Essbase System Login dialog box, select the Change Password button. 2. In the Change Password dialog box in the New Password text box, type your new password. 3. In the Confirm Password text box, type the password again. The passwords must be identical. 4. Click OK to change your password. 5. Click OK again to close the Essbase System Login dialog box.
Spreadsheet Add-in requests data from the server. The server processes the request and prepares the data. The server transmits the data to Spreadsheet Add-in.
41
The spreadsheet application receives the data from Analytic Services and organizes it in a worksheet.
To help you monitor these operations, Analytic Services uses three custom cursors, as described in Table 3.
Table 3
Essbase Custom Cursor When Displayed Spreadsheet Add-in requests information from Analytic Server.
Cursor
Note: Small retrieval actions display the cursors very quickly; you may not notice changes in the direction of the arrow when retrieving small amounts of data.
Note: You should be connected to the Sample Basic database. If you are not connected, follow the steps in Connecting to a Database on page 39.
Figure 14
Because you selected the Enable Double-Clicking box in the Essbase Options dialog box (Global tab) in Step 9 on page 37, you can double-click in an empty cell to retrieve data. You can also click the Retrieve button on the Essbase toolbar.
42
When you retrieve data into an empty worksheet, Analytic Services returns data from the top levels of each database dimension. The top level is used as a starting point to navigate, or drill down, into levels of detailed data. In the Sample Basic database, the following five dimensions are retrieved: Measures, Product, Market, Scenario, and Year.
Tip: You can retrieve data by double-clicking in a data cell, selecting Essbase > Retrieve, or by
43
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. To disable Flashback: 1. Select Essbase > Options and click the Global tab. 2. Clear the Enable FlashBack check box.
Select the member and select Essbase > Zoom In. Select the member and double-click the primary mouse button. Select the member and click the Zoom In button on the Essbase toolbar.
Figure 15
Note: For a discussion of the relationships among Analytic Services database members, see Database Outlines on page 23.
With Analytic Services, you can retrieve members into columns or rows that are grouped or nested. Row groups containing more than one level of data are nested within single-member row groups. For example, a row group containing Qtr1, Qtr2, Qtr3, and Qtr4 may be nested within a single-member row for a specific region, such as East (see Figure 16). Drilling down to lower levels of database members is one way to retrieve data into nested groups.
2 In cell D1, double-click to drill down on Market and create nested groups of rows down the worksheet.
44
Figure 16
Because worksheets can accommodate more rows than columns, Analytic Services is preset to retrieve data into rows when you drill down on a member. You can change this default behavior and display the results of a drill-down across columns. Drilling across columns applies only to the top-level member of a dimension (for example, Market or Scenario).
To drill down on Scenario and retrieve its respective members into columns rather than rows:
1 Press and hold down the Alt key. 2 Double-click Scenario (in cell E1). 3 Release the Alt key.
Analytic Services displays the data in columns across the worksheet, as shown in Figure 17.
Figure 17
45
You can use an attribute dimension to drill down on the base dimension with which it is associated. In the Sample Basic database, the Product base dimension is associated with several attribute dimensions, such as Caffeinated, Ounces, and Pkg_Type. Each attribute dimension consists of level 0 attribute members. Level 0 attribute members are the lowest level attributes that are associated with members of a base dimension. The Pkg_Type attribute dimension, for instance, has two level 0 members, Bottle and Can. You can extract information on all products sold in a can by entering manually the name Can in the worksheet. You can also use Essbase Query Designer or the Essbase Member Selection dialog box to select the attribute and display it in the worksheet.
Figure 18
6 Drill down to all products sold in a can by double-clicking Can in cell C1.
Cola, Diet Cola, and Diet Cream are the members of Product that have the Can attribute. Figure 19 displays the results:
Figure 19
If the level 0 attribute member is in a column, a drill-down pivots the attribute to the innermost row of the worksheet. If the level 0 attribute member is in a row, a drill-down does not change the position of the attribute in the worksheet.
46
A drill-down on a level 0 attribute member displays the associated base members to the right of the level 0 attribute. If there is more than one level 0 attribute member in a worksheet, a drill-down on one attribute displays other attributes to the left of the level 0 attribute member. Level 0 attribute members in columns pivot to rows, and level 0 attribute members already in rows remain in rows. A drill-down on non-level 0 attribute members is the same as the current drill- down behavior for other types of members.
The drill-down behavior for non-level 0 attribute members is the same as the current drilldown behavior for other types of members. See the Spreadsheet Add-in online help for examples of drilling down on level 0 attribute members. For more information on attributes, refer to the Analytic Services Database Administrators Guide.
Select the member and select Essbase > Zoom Out. Select the member and double-click the secondary mouse button. Select the member and click the Zoom Out button on the Essbase toolbar.
Analytic Services collapses the members of the Scenario dimension. The result is shown in Figure 20:
Figure 20
47
Analytic Services collapses East, West, South, and Central into the single Market dimension and keeps the dimension in the A column, as shown in Figure 21.
Figure 21
Figure 22
The Zoom In option group contains items that enable you to customize drilling behavior. You can specify which members are returned to the worksheet during a drill-down operation. For example, if you select Bottom Level, Analytic Services retrieves data for the lowest level of members in a dimension. With this option, a drill-down on Year retrieves Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec. The Member Retention option group contains items that enable you to customize drilling retention characteristics. The default selection, Include Selection, retains the selected member along with the other members retrieved as a result of a drill down. For example, if you drill down on Qtr1, Analytic Services retrieves data for Jan, Feb, and Mar, as well as for Qtr1. When this option is disabled, Analytic Services retrieves data only for Jan, Feb, and Mar; Qtr1 is eliminated. For more information on the Zoom In and Member Retention option groups, see the Spreadsheet Add-in online help.
48
2 In the Zoom In option group, select the All Levels option and click OK to save the setting. 3 In cell A3, drill down (double-click) on Market. 4 In cell C2, drill down (double-click) on Scenario.
Analytic Services retrieves all members of Market and Scenario, as shown in Figure 23. For the Market dimension, Analytic Services drilled down two levels to get to the bottom-most members, which are individual states. The Scenario dimension contains only one member level, so the members of Scenario would also be retrieved if you selected Next Level in the Zoom In option group.
Figure 23
5 Select Essbase > Options and select the Zoom tab. 6 Return the Zoom In option setting to Next Level.
If you want to drill up on only one quarter of the year, select Within Selected Group in the Member Retention option group.
Figure 24
49
3 Before moving on with the tutorial, disable the Within Selected Group option:
a. Select Essbase > Options and select the Zoom tab. b. In the Member Retention option group, clear the Within Selected Group check box, and click OK.
Pivoting Rows and Columns on page 50 Retaining a Data Subset on page 53 Removing a Data Subset on page 55 Navigating Through the Worksheet Without Retrieving Data on page 56 Suppressing Missing Values, Zero Values, and Underscore Characters on page 59
Move a row group to a column group Move a column group to a row group Change the order of row groups Change the order of column groups
Select the member cell that you want to pivot, and select Essbase > Pivot. This method applies only to moving a row group to a column group or a column group to a row group. Click in the center of the member cell that you want to pivot, press and hold down the secondary mouse button, and drag the group to the desired location. This method applies to swapping row and column groups and to changing the order within groups.
50
Note: You should already be connected to the Sample Basic database. If you are not connected, follow the steps in Connecting to a Database on page 39.
2 Select Essbase > Retrieve. 3 Drill down (double-click) on Measures and Product (in cells B1 and C1, respectively). 4 Press and hold down the Alt key, and, in cell E1, drill down (double-click) on Scenario.
Figure 25 shows the spreadsheet view before pivoting.
Figure 25
Figure 26
6 As another example, in cell C2, select Actual. 7 Right click and drag Actual to product 100 in cell A3.
51
As Figure 27 shows, the member label box is displayed under the cursor during the pivot operation, and it displays the names of the members that you are pivoting. The orientation of the member label box, however, does not determine the orientation of the pivot result. Analytic Services determines the data orientation by the location of the destination cell.
Figure 27
Figure 28 shows the result of Analytic Services pivoting the Scenario members (Actual, Budget, Variance, and Variance%) from a column group to a row group that is displayed to the left of the Product members.
Figure 28
52
Figure 29
The pivot changes the order of the row groups. The result is shown in Figure 30
Figure 30
In this example, notice that both the source cell and the destination cell are now members. Whenever the source cell and the destination cell are members of different row groups, Analytic Services exchanges the member groups. You must select a destination cell that contains a member name to exchange row members. You can also exchange column members by choosing a destination cell in another column that contains a member name.
53
Figure 31
Figure 32
Occasionally, the data that you want to remove from the worksheet does not lie in an adjacent range of cells.
54
Figure 33
Figure 34
55
Figure 35
56
Figure 36
3 In cell D2, drill down (double-click) on Year by pressing and holding down the Alt key.
Analytic Services drills down without retrieving data.
Figure 37
5 In cell G1, click the secondary mouse button on Market and drag Market to product 100 (cell A4).
Analytic Services executes the pivot without retrieving data. The result is shown in Figure 38.
Figure 38
57
Navigating without data also works with the Keep Only and Remove Only commands.
To navigate without data when using the Keep Only or Remove Only command:
1 Select Qtr1 (cell D2) and Qtr2 (cell E2) and select Essbase > Keep Only.
Analytic Services retains only the selected members and does not retrieve data, as shown in Figure 39.
Figure 39
2 Select products 300 (cell B7), 400 (cell B9), and Diet (cell B11) and select Essbase > Remove Only.
Analytic Services executes the Remove Only command without actually querying the database for information, as shown in Figure 40.
Figure 40
To turn off Navigate Without Data when you are ready to retrieve data:
1 Select Essbase > Navigate Without Data.
Analytic Services removes the check mark next to the menu item. You can also disable Navigate Without Data by clearing the appropriate option in the Essbase Options dialog box (Global tab) or by clicking the Navigate Without Data button on the Essbase toolbar.
58
Figure 41
Note that if you want to retrieve data without changing the current worksheet view, you can also retrieve data by simply double-clicking in any data cell or by selecting Essbase > Retrieve (after disabling Navigate Without Data).
Numeric data values #NoAccess strings, which are displayed when you do not have the proper security access to view a data value #Missing strings, which indicate that no data exists for that member intersection Zero data values
A missing value is not the same as a zero value that is loaded into the Analytic Services database. When data does not exist for a data cell in Analytic Services, a value of #Missing is returned to the worksheet. If any cell in a row contains a value, that row is not suppressed on a retrieval. Using Analytic Services, you can suppress missing and zero values from the display in the worksheet. In addition, you can tell Analytic Services to suppress underscore characters that are in some member names.
To suppress rows that contain missing values from being displayed in the worksheet:
1 In cell C3, double-click the secondary mouse button to drill up on Profit. 2 Pivot Measures (in cell C3) to Actual (in cell D1). 3 In cell B4, drill down (double-click) on product 100.
In the South member group, the product 100-30 row contains all missing values, indicating that this product is not sold in the South, as shown in Figure 42. You may need to scroll down the worksheet to see this row.
59
Figure 42
4 Select Essbase > Options, and select the Display tab. 5 In the Suppress option group, select the #Missing Rows check box and click OK.
The Suppress #Missing Rows and Zero Rows options are not available when any of the Formula Preservation options are selected in the Mode tab of the Essbase Options dialog box. For more information on Formula Preservation, see Preserving Formulas When Retrieving Data on page 118.
Analytic Services suppresses product 100-30 from the South member group, as shown in Figure 43.
Figure 43
60
After you enable the Suppress #Missing Rows feature in the Essbase Options dialog box, any missing values suppressed during a data retrieval are not retrieved again by disabling the feature. If you disable the feature in the Essbase Options dialog box, missing values are retrieved from only that point on. For example, in this tutorial task, Analytic Services could not go back and return the missing values for product 100-30. To return these missing values to the worksheet, you disable the Suppress #Missing Rows feature, drill up on a Product member, and then drill down again. You can also suppress zeros and underscore characters as described in this tutorial task by clicking the appropriate options in the Suppress option group in the Essbase Options dialog box (Display tab). In addition to suppressing specific values and characters during retrieval, Analytic Services enables you to define a label for missing values (#Missing) or for data to which you do not have access (#NoAccess). If you define a replacement label for these values, Analytic Services displays the replacement labels instead of the default labels. For more information on defining replacement labels for the #Missing and #NoAccess labels, see the Spreadsheet Add-in online help.
Formatting Text and Cells on page 61 Displaying Aliases for Member Names on page 68 Displaying Both Member Names and Aliases on page 70 Repeating Member Labels on page 71
Applying Styles to Parent Members on page 62 Applying Styles to Dimension Members on page 64
61
Applying Styles to Data Cells on page 66 Precedence of Overlapping Styles on page 67 Removing Styles on page 68
For a discussion of the relationships among Analytic Services database members, see Database Outlines on page 23.
3 In cell A2, drill down (double-click) on Year. 4 Select Essbase > Options. 5 In the Essbase Options dialog box, select the Style tab.
The Style tab is available only when you are connected to a database. Analytic Services displays the Style tab, as shown in Figure 44.
62
Figure 44
In the Members group box, you can define styles for various types of database members, such as parent, child, and shared members.
7 Click the Format button that is to the right of the Members group box.
Analytic Services displays the Font dialog box.
8 In the Font style list box, select Bold Italic and then click OK.
Analytic Services displays an example of the selected style in the Sample box, as shown in Figure 45.
63
Figure 45
9 Click OK again.
Even though you have defined styles, they are not enabled until you select the Use Styles check box from the Essbase Options dialog box and refresh the worksheet.
10 Select Essbase > Options, and select the Display tab. 11 In the Cells option group, select the Use Styles check box to enable the styles, and then click OK. 12 Select Essbase > Retrieve to refresh the worksheet and apply the styles.
Analytic Services displays parent member names in bold, navy font.
Figure 46
64
2 In the Dimensions group box, select the Year check box. 3 Select the Cell Border check box to create a border around each cell that contains a member from the
selected dimension.
Figure 47
5 Click the Format button that is to the right of the Dimensions group box.
Analytic Services displays the Font dialog box.
6 From the Font style list box, select Bold, and then click OK.
Analytic Services displays an example of the selected style in the Sample box.
7 From the list of dimensions, select the Measures dimension, and from the Background Color drop-down
list, select Fuschia.
8 From the list of dimensions, select Product, and clear the Cell Border check box. 9 From the Background Color drop-down list, select Aqua. 10 Scroll down the list of dimensions, and select Market. 11 Select the Cell Border check box, and click the Format button that is to the right of the Dimensions list. 12 When the Font dialog box is displayed, from the Font style list box select Italic, and then click OK. 13 From the list of dimensions, select Scenario, and from the Background Color drop-down list, select Red. 14 Click the Format button, and from the Background Color list box, select White. 15 Click OK twice to return to the worksheet.
65
Note: When you define styles, your choices are saved to the Windows Registry on your local computer. You can define one set of styles per database.
16 In cell D1, drill down (double-click) on Market. 17 Press and hold down the Alt key and drill down (double-click) on Scenario in cell E1. 18 Select Essbase > Retrieve to refresh the worksheet.
Analytic Services redisplays the worksheet and implements the newly defined styles. For example, members of the Scenario dimension are displayed with a red background.
Figure 48
66
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. In general, to apply styles to data cells, follow these steps: 1. Select Essbase > Options, and select the Style tab. 2. In the Data Cells option group, select the Linked Objects, Integration Server Drill-Through, Read Only, or Read/Write check box. 3. Click Format. 4. In the Font dialog box, specify the font, font size, font style, color, and effects, and click OK. An example of the selected style is displayed in the Sample box.
5. Repeat <Cross.ref>step through <Cross.ref>step to set styles for other data cells. 6. Select the Display tab and select the Use Styles check box to apply styles to the worksheet. 7. Click OK to close the Essbase Options dialog box. 8. Select Essbase > Retrieve to display the new styles in the worksheet.
Linked object cells Integration Server Drill-Through cells Read-only cells Read/write cells Parent member cells Child member cells Shared member cells Cells containing formulas Dynamic calculation member cells Attribute cells Dimension cells
The only way you can apply a background color to data is to define a style for dimensions. If dimension styles are defined and the Use Styles setting is turned on, a background color is always defined for members of a dimension. The text styles that you can apply to members, dimensions, and data cells are hierarchical and determine which characteristics are applied. Member styles are at the top of the hierarchy. Thus, member styles are always applied if styles are turned on. Notice that in
67
<Cross.ref>Figure 48 on page 66, the Qtr1 label in cell B6 is in bold italic navy font, and has a yellow background. The navy font comes from the style defined for parent members, and the yellow background comes from the style defined for Year. If you want to see a child member style, make sure that the parent member style is turned off. If you want to see a shared member style, make sure that both parent and child member styles are turned off.
Removing Styles
Styles can be very helpful tools for keeping track of data in Spreadsheet Add-in. Applying styles, however, involves additional processing time during a retrieval request. This additional processing has a slight impact on the speed of Analytic Services retrievals. If you do not want to apply styles to the worksheet view, you can clear them. You can also turn off styles so that they are not displayed when you refresh the view (by selecting Essbase > Retrieve, for example). So that the worksheet matches the illustrations presented in the following tasks, do not remove styles if you are going through the tutorial. If styles are applied to the worksheet and you execute the FlashBack command, these styles are temporarily removed from the current view. The styles are reapplied whenever you initiate a retrieval.
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. To remove all styles from a worksheet: 1. Select all cells in the worksheet. 2. From the Excel menu bar, select Edit > Clear > Formats. To turn off styles: 1. Select Essbase > Options and, select the Display tab. 2. In the Cells option group, clear the Use Styles check box, and click OK.
Note: If you turn styles off without clearing them from the worksheet, the styles remain in the current worksheet view when you refresh the view. The styles remain to avoid removing any styles that you may apply to individual cells using native worksheet formatting options.
68
other database members. For example, a Product member may have a different alias for each market in which it is sold. For more details about member names and aliases, see the Spreadsheet Add-in online help or the Analytic Services Database Administrators Guide.
Figure 49
6 Click OK. 7 Select Essbase > Retrieve to refresh the worksheet and display the alias names.
The result is shown in Figure 50. Analytic Services changes the Product codes (100, 200, and so forth) to their predefined aliases (Colas, Root Beer, Cream Soda, and so forth). In the Sample Basic database, Product is the only dimension with predefined aliases.
69
Figure 50
Notice that Analytic Services is still displaying the styles that you created and applied in the previous sections.
70
Figure 51
3 In the Cells option group, select the Repeat Member Labels check box, and then click OK.
71
Figure 52
Figure 53
You may notice that even if you clear the Repeat Member Labels check box in the Essbase Options dialog box, Analytic Services retains the repeated member labels in the worksheet view. To remove the repeated labels, you need to perform one of these tasks:
Clear the check box and open a new worksheet Clear the check box and pivot the row group to a column group and then pivot it back to a row group (or the reverse, from a column group to a row group, and back) Select Essbase > FlashBack and clear the check box
72
The number of members in the qualified member name depends on the number of levels needed to uniquely define the duplicate member. You can choose to display the qualified member name as a cell comment. If a member is a duplicate, the cell contains a cell comment indicator. Hover over the comment indicator to view the qualified member name. You may also opt to display the qualified member name directly on the sheet. Note that in the Essbase Member Selection dialog box in the Spreadsheet Add-in, if duplicate members are selected, you can hover over the duplicate member names in the Rules list box to view the qualified member name. This is true regardless of the comment settings made in Excel. When viewing the qualified member name as a cell comment, you will see the qualified member name between the <esskey></esskey> identifier; for example:
<esskey>[East].[New York]</esskey>
After a Save or Save As operation, the qualified member name in the cell comment field is displayed between the <esskey></esskey> and <essdisp></essdisp> identifiers; for example:
<esskey>[East].[New York]</esskey><essdisp>[East].[New York]</essdisp>
Do not edit the text between the <esskey></esskey> identifier or the <essdisp></essdisp> identifier (which appears after a save operation until the next Retrieve). These identifiers appear in the comment field regardless of the Qualified Member Name display settings you make. Changing the text between the identifiers may invalidate the worksheet. Note that you can type comments before or after the identifiers and that these comments are retained by Analytic Services with each retrieval.
73
An Example Scenario
For this example, the member name Albany appears under both the New York and California members in a Market dimension as well as in a Customer dimension. With duplicate member name support, Analytic Services can simply display Albany under New York and California in both dimensions. Depending on the options you select, the qualified member name can be shown as an Excel comment, For this example, only the Show Qualified Member Names as Comments check box has been selected in the Display tab of the Essbase Options dialog box. In the spreadsheet, using the example of the duplicate name Albany, if the user hovers over the indicator for Albany, New York, in the Market dimension, the cell comment reads:
<esskey>[Market].[New York].[Albany]</esskey>
If the user hovers over the indicator for Albany, New York, in the Customer dimension, the cell comment reads:
<esskey>[Customer].[New York].[Albany]</esskey>
Further, if the user hovers over the indicator for Albany, California, in the Customer dimension, the cell comment reads:
<esskey>[Customer].[California].[Albany]</esskey>
In a complex spreadsheet, the cell comment allows the user to easily pinpoint a member combination. In the above examples, if the Show Qualified Member Names on Sheet check box is selected, for the instances of Albany in the Customer and Market dimensions, the qualified member name is displayed directly on the worksheet.
Note: To show qualified member names as comments, you must enable the Comment Indicator only option in Microsoft Excel.
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. In Spreadsheet Add-in, to display duplicate member names: 1. Select Essbase > Options. 2. In the Display tab, select one or both of the following options from the Duplicate Members group:
Show Qualified Member Names on Sheet to view the qualified member name on the sheet. Show Qualified Member Names as Comments to view the qualified member name when the cursor is hovered over the comment indicator in a cell. When you use this option, ensure that the Comment indicator only option of Excel is selected.
74
The navigation panel at the left of the window provides access to the various features in Essbase Query Designer. You can display all the dimensions used in a particular query and access the various properties of each dimension member. The hint panel at the top right of the window provides a brief description of the feature that is selected from the navigation panel. The properties panel at the bottom right of the window provides access to the following functions:
Layout: Design the layout of the spreadsheet report. To change the default layout, select a dimension tile and drag it to one of the other dimension boxes. To access the member select panel and to define a member for a query, double-click a dimension tile. Member Select: Select members that you want to display in the rows of the spreadsheet report. To select a member, right-click the member, and select Add to Selection Rules. You can also double-click a member to add it to the selection rules. Member Filter: Filter the member selection by attribute, generation name, level name, pattern string, or UDA. Data Filter: Retrieve rows of data. The retrieval is based on the ranking of the rows within certain columns. Use this panel to access the data restriction panel. Data Restriction: Filter data by comparing it to a fixed data value (including a negative value), a set of data values, or #Missing data values. Data Sort: Sort rows in ascending or descending order. The sort is based on column data values. Messages and Confirmation: Turn on and turn off certain messages from Essbase Query Designer. Help: Access documentation about Essbase Query Designer.
See About Creating and Changing Queries on page 76 for an overview of Essbase Query Designer. The portions of the tutorial that follow step you through the following query design procedures:
75
Saving Queries on page 82 Applying Queries on page 84 Deleting Queries on page 85 Viewing Messages and Confirmations on page 85 Accessing Help on page 86
Note: Excel query functionality is not supported in Spreadsheet Add-in. Use the Essbase Query Designer to define database queries.
For complete information on Essbase Query Designer options, see the Spreadsheet Add-in online help.
Caution! Manipulation of worksheets in VBA such as naming worksheets or moving worksheets may
Creating Queries
To create a query using Essbase Query Designer:
1 Select Essbase > Query Designer.
Analytic Services displays the Essbase Query Designer welcome panel, as shown in Figure 54.
76
Figure 54
2 In the navigation panel, select [Book1]Sheet1, right-click, and select New > Query.
The layout panel of Essbase Query Designer is displayed, as shown in Figure 55.
Figure 55
3 Define the worksheet layout by dragging the dimension tiles in the properties panel as follows:
a. Drag Market and Product to the Row location. b. Drag Measures to the Page location. c. Drag Scenario below Year (in the Column location). Figure 56 shows the results of dragging the dimension tiles in the properties panel.
77
Figure 56
4 In the navigation panel, select the Measures dimension by selecting the Measures icon. Alternatively,
double-click the Measures tile in the layout panel.
The member select properties panel, where you can select a member from the Measures dimension, is displayed.
Note: You can select only one member from the dimension in the Page location.
5 In the Members list box, select Profit, right-click, and select Add to Selection Rules.
Alternatively, double-click Profit to add it to the selection rules. Profit is displayed in the Selection Rules list box.
78
Figure 57
Note: In Essbase Query Designer, after you make your selections, you do not need to confirm them; for example, you do not have to click OK. If you do not select members from any given dimension, Analytic Services uses the top member of the dimension.
79
Figure 58
80
Figure 59
f.
To view the list of all product codes that will be retrieved into the worksheet, select any of the entries in the Selection Rules list box (for example, 200), right-click, and select Preview. Analytic Services displays the Member Selection Preview dialog box, as shown in Figure 60, with the selected product dimensions listed.
Figure 60
81
The members of the Market dimension are displayed in the member select properties panel. b. In the Members list box, select East, right-click, and select View by > Generation. c. To pick the second generation of the Market dimension, in the Member list box, select Region, right-click, and select Add to Selection Rules. Alternatively, double-click Region to add it to the selection rules. Region is displayed in the Selection Rules list box. d. To view the list of members that will be retrieved into the worksheet, in the Selection Rules list box, select Region, right-click, and select Preview. As shown in Figure 61, Analytic Services displays East, West, South, and Central, which are members of generation two in Market, in the Member Selection Preview dialog box.
Figure 61
e. Click Close to close the Member Selection Preview dialog box. You have now defined a basic query. The outline of the query is displayed in the navigation panel. The next topic describes how to save this query.
Saving Queries
To save a query in Essbase Query Designer:
1 In the navigation panel, select [Book1]Sheet1, Query1\, and then right-click and select Save Query.
The Essbase Query Designer Save As Query dialog box is displayed, as shown in Figure 62. You can save your query to the server or to your own client machine. To save to the server, you must have a security level of database designer or higher. Contact the Analytic Services system administrator for more information.
82
Figure 62
Figure 63
4 Select a location, in the File name text box, type Basic1 and then click Save.
As shown in Figure 64, Essbase Query Designer displays information about the query that you just saved. You will use the Basic1 query again in Chapter 3.
83
Figure 64
Applying Queries
To apply a query in Essbase Query Designer:
1 In the navigation panel, select [Book1]Sheet1, Basic1. 2 Right-click the Basic1 query, and select Apply Query.
The result of the query is displayed in the worksheet, as shown in Figure 65.
Figure 65
In the Display tab under Essbase > Options, if you select Use Styles and Use Sheet Options with Query Designer, the styles you selected for dimension members will be applied to the initial query results. If you do not select Use Sheet Options with Query Designer, even if you have
84
selected Use Styles, they will not be applied to the initial query results. To apply styles, select Essbase > Retrieve. When Analytic Services returns the data to the worksheet, you are free to further investigate the data by performing Zoom, Keep Only, Remove Only, and Pivot operations.
Deleting Queries
You can delete a query only from the location where you saved that query. For example, if you save a query in the /AnalyticServices/client/sample directory, you can delete the query from within the sample directory. You cannot delete the query from within Essbase Query Designer.
Figure 66
85
Accessing Help
Access online help or the tutorial for Essbase Query Designer by using the help panel. To access the help panel, in the navigation panel, select Help. For more information on a particular topic, click the Online Help button in the properties panel. To access the online tutorial, click the Tutorial button in the properties panel (shown in Figure 67).
Note: The Tutorial button launches ssxleqd.pdf, which links to the tutorial for Essbase Query Designer. The tutorial is part of this guide, Analytic Services Spreadsheet Add-in Users Guide for Excel, and is located in the essexcel.pdf file. To access the ssxleqd.pdf and essexcel.pdf files from Essbase Query Designer, they should be installed in $ARBORPATH/docs/pdf and Adobe Acrobat Reader must be installed. You can obtain Acrobat Reader at www.adobe.com.
Figure 67
86
4 Type your password, and click OK. Select Sample Basic, and click OK. 5 Select [Book1]Sheet2 (or Sheet3), right-click, and select Connect.
The Essbase System Login dialog box is displayed.
6 Type your password, and click OK. Select Samppart Company, and click OK.
Note: You are restricted to one connection per worksheet. The connection information is displayed in the query information panel of the Essbase Query Designer only when you open an existing query or create a new query.
7 Select [Book1]Sheet1, right click, and select New > Query to create a new query based on Sample Basic. 8 Select [Book1]Sheet2, right-click, and select New > Query to create a new query based on Samppart
Company,
To enable Essbase Query Designer to use your previously set worksheet options:
1 Select Essbase > Options. 2 In the Essbase Options dialog box, select the Display tab. 3 Select the Use Sheet Options with Query Designer check box, and select OK. 4 Select Essbase > Retrieve to refresh the worksheet.
Analytic Services displays the results of the query that you created in Essbase Query Designer and implements your previously set worksheet options. For example, in Figure 68, aliases, instead of the numeric codes, are now displayed for the Product dimension.
87
Figure 68
Selecting Members
An Analytic Services database may contain hundreds or even thousands of members, making it difficult to remember each member name. You can use the Essbase Member Selection dialog box to find and select members and to define the layout of members in the worksheet. In addition, you can use Boolean operators, such as AND, OR, and NOT, or other search parameters to specify criteria and conditions that members must meet for the member selection. Member selection is an important method of creating a spreadsheet report for the data that you want to retrieve. For complete information on the Essbase Member Selection dialog box, see the Spreadsheet Add-in online help.
Note: You should be connected to the Sample Basic database. If you are not connected, follow the steps in Connecting to a Database on page 39.
2 Select Essbase > Retrieve. 3 Select Product and select Essbase > Pivot to display Product as a row, rather than a column, dimension.
88
Figure 69
Figure 70
89
Figure 71
6 Click OK to close the Member Information dialog box. 7 In the Essbase Member Selection dialog box, click Add to add Colas to the Rules list box.
Alternatively, you can double-click an item in the Members list box to add the item.
9 In the Find Member dialog box, type D* in the text box, as shown in Figure 72.
Figure 72
90
12 Continue to click Find Next until all members and descents of the Product dimension whose names begin
with the letter D are selected.
13 Click Close to close the Find Member dialog box. 14 Click Diet Cream once to clear all other selected members and descendants and then click Add.
Analytic Services displays Colas and the new selection, Diet Cream, in the Rules list box.
15 In the Essbase Member Selection dialog box, select Colas in the Rules list box, right-click, and from the
pop-up menu, select All Children and Member.
Analytic Services displays All Children and Member next to Colas in the Selection Rules list box.
16 In the Selection Rules list box, select Colas, All Children and Member, and then right-click again. 17 From the pop-up menu, select Subset.
Analytic Services displays the Subset Dialog box, where you can further define conditions for the selected member (see Figure 73). You can define a maximum of 50 conditions in the Subset Dialog box.
18 In the Subset Dialog box, in the first drop-down list, select Caffeinated. In the second drop-down list,
select Is. In the third drop-down list, select Caffeinated_True.
Figure 73
When you use Add as AND Condition, the subsetting condition in the Conditions list box is evaluated using AND logic. AND logic means that the selection must meet the current condition and the condition that follows it in the Conditions list box.
20 In the first drop-down list, select Ounces. In the second drop-down list, select the logical operator =. In
the third drop-down list, select Ounces_12.
91
22 In the first drop-down list, select Ounces. In the second drop-down list, select the logical operator <=. In
the third drop-down list, select Ounces_32.
24 In the first drop-down list, select Pkg Type. In the second drop-down list, select Is. In the third drop-down
list, select Bottle.
26 In the Conditions box, select Ounces <= Ounces_32, and then click the Add ( button. 27 Select Pkg Type = Bottle, and click the Add ) button.
The Add ( and Add ) buttons add a left parenthesis and right parenthesis, respectively, to selected items. Use parentheses for grouping multiple subsetting conditions to determine the order of priority for analyzing the conditions. Each item in the Conditions list box can have either the left or right parenthesis, but not both. In this example, Analytic Services first evaluates members that are less than or equal to 32 ounces and are packaged in a bottle. Analytic Services then evaluates the results from this condition against members that are 12 ounces.
Note: Use the Remove ( ) button to remove an individual group of parentheses from a selected item in the Conditions list box. Use the Remove All ( ) button to remove all parenthetical groupings from the Conditions list box.
Figure 74
92
In the Member Preview dialog box, as shown in Figure 75, you can view the resulting member selection from the conditions that you defined.
Figure 75
29 Click Close to close the Member Preview dialog box. 30 Click OK to close the Subset dialog box and return to the Essbase Member Selection dialog box.
The conditions that you set in the Subset dialog box are displayed in the Rules list box.
31 Select Diet Cream and click the Move Item Up button to change the order in which Diet Cream is displayed
in the worksheet.
Each time you click the Move Item Up or Move Item Down button, the selected item and its associated subset conditions move up or down one position in the Rules list box. You can move only the top-level item (the item you added from the Members list box), not the individual subset conditions.
Figure 76
93
32 Click Preview to preview the members that will be retrieved in the worksheet.
Analytic Services displays the Member Preview dialog box, as shown in Figure 77.
Figure 77
33 After previewing the list, click Close. 34 Click OK to close the Essbase Member Selection dialog box and insert the new members into the
worksheet (see Figure 78).
Figure 78
35 Starting with Diet Cream, type Year next to each product (see Figure 79).
You need to perform this step so that every product has a matching Year dimension associated with it in the report.
Figure 79
94
Figure 80
Saving a Worksheet on page 95 Disconnecting from Analytic Services on page 95 Logging Off on page 96
Saving a Worksheet
At any point during the Analytic Services session, you can save the active worksheet with the commands, File > Save or File > Save As. Thus, you can keep a personal library of database views. You can open the worksheet during a later session and retrieve the latest data values to update the view.
Note: To save the Essbase option settings in a worksheet, you must explicitly go to the Essbase Options dialog box and set the options prior to saving the worksheet. Otherwise, when you open the same worksheet in a new Spreadsheet Add-in session, the options settings for the current session will override any previous settings for the worksheet. Make sure that the worksheet for which you option settings saved is not a protected worksheet. Analytic Services cannot save option settings for a protected worksheet.
95
Figure 81
2 From the list, select a worksheet name, and then click Disconnect. 3 Repeat Step 2 until you have disconnected all active sheets. 4 Click Close to close the Essbase Disconnect dialog box.
Note: You can also disconnect from the server by closing the spreadsheet application. An abnormal shutdown of a Spreadsheet Add-in session, such as a power loss or system failure, does not disconnect your server connection.
Logging Off
Analytic Services provides two administrative features that control user connections:
Forced Logout, where an administrator disconnects users at any point in time. This logout usually occurs when maintenance operations are performed on databases. Auto Logout, where Analytic Services automatically disconnects users that are inactive for a timed interval specified by an administrator.
On to Advanced Tasks
Now that you have completed the basic tutorial, you are ready to move on to more complex tasks. In the next chapter, you will use the sample spreadsheet files to perform advanced tasks in Essbase Spreadsheet Add-in.
96
Chapter
An Advanced Tutorial
3
The tutorial that you completed in Chapter 2 teaches basic data retrieval and navigation concepts for Essbase Spreadsheet Add-in. This chapter builds on your basic skills and expands your knowledge of Analytic Services and Spreadsheet Add-in. In this advanced tutorial, you use several sample spreadsheet files for Excel that were installed as part of the default Analytic Services installation. These files are stored in the \AnalyticServices\client\sample directory. You also reconnect to the Sample Basic database.
In This Chapter
Preparing to Begin the Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Performing Advanced Retrieval Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Using Linked Reporting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Connecting to Multiple Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Ways to Access Linked Partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Updating Data on the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Database Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Creating Multiple Worksheets from Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Working with Currency Conversions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
97
Connecting to a Database
To access Analytic Services data for the advanced tutorial, first connect to the Sample Basic database on the server. This tutorial assumes that you have the appropriate privileges to connect to a server, an application, and a database.
Figure 82
Note: To complete the steps that follow, you need to know the name of the Analytic Services server, your username, and your password. If you do not have this information, contact the Analytic Services system administrator.
2 From the Server drop-down list, select the server that you want to access and then press Tab to move to
the Username text box.
If the server name that you want is not shown in the list, type the name of the server that you want to access in the Server text box and press Tab.
3 In the Username text box, type your username and then press Tab to move to the Password text box. 4 In the Password text box, type your password.
98
Note: You can change your password when you are connected to a server. See Changing a Password on page 41.
Figure 83
6 In the Application/Database list box, double-click Sample Basic, or select Sample Basic and then click
OK.
If the application is not already running, Analytic Services automatically starts it. There may be a brief pause as the application loads; the time required to start an application depends on the number of databases, the sizes of the databases, and the sizes of the indexes of the databases that are contained within the applications.
99
2 In the Essbase Options dialog box, select the Display tab. 3 Select the appropriate check boxes and option buttons so that your display matches Figure 84.
Figure 84
4 Select the Zoom tab. 5 Select the appropriate check boxes and option buttons so that your display matches Figure 85.
Figure 85
100
7 Select the appropriate check boxes and option buttons so that your display matches Figure 86.
Figure 86
8 Skip the Style tab and select the Global tab. 9 Select the appropriate check boxes and option buttons so that your display matches Figure 87.
Figure 87
10 Select OK to save the settings for this session and close the Essbase Options dialog box.
101
The settings in the Essbase Options dialog box may change as you access the various sample spreadsheet files as part of the tutorial. Leave the settings as they are unless the tutorial advises you to change them. If you have different option settings, the illustrations presented in this chapter may not match the worksheet view.
Filtering Data on page 102 Sorting Data on page 107 Retrieving Data into Asymmetric Reports on page 110 Drilling Down to a Sample of Members on page 112 Working with Formatted Worksheets on page 113 Preserving Formulas When Retrieving Data on page 118 Retrieving a Range of Data on page 121 Retrieving Data by Using a Function on page 123 Retrieving Dynamic Calculation Members on page 126 Specifying the Latest Time Period for Dynamic Time Series on page 128 Using Free-Form Reporting to Retrieve Data on page 131 Retrieving Data Using Hyperion Visual Explorer on page 139
Remember that you can perform common data retrieval tasks in any of the following ways:
Selecting commands from the Essbase menu on the spreadsheet application menu bar Clicking the appropriate buttons on the Essbase toolbar Double-clicking the primary or the right-mouse button in the appropriate cell (for Retrieve, Zoom In, and Zoom Out commands only, and the Linked Objects command, if you have enabled that option).
Filtering Data
Despite the ease and speed with which you can navigate through large Hyperion Essbase databases, it is not practical to use the capabilities of the spreadsheet application to filter and sort very large databases; however, Analytic Services includes powerful data filtering and sorting capabilities. In Chapter 2, you learned to use Essbase Query Designer to define a dimensional layout and to select members to view. Essbase Query Designer also provides a powerful tool to define conditional retrievals.
102
Note: If you skipped the tutorial in Chapter 2, follow the steps in Creating Queries Using Essbase Query Designer on page 75 to create and save the Basic1 query.
To become familiar with the capabilities of Essbase Query Designer, work with the query,
Basic1, that you saved in Chapter 2, and perform the following steps:
2 In the navigation panel, select [Book1]Sheet1. 3 Right-click and select Open Query.
The Open Query dialog box is displayed.
4 From the location that you specified in Chapter 2, select the Basic1 file. 5 Click OK.
The member selection, displayed in the properties panel, remains unaltered from the last Essbase Query Designer session.
Figure 88
A check box for ranking a specified number of top rows or a specified number of bottom rows of data.
103
You can select the highest or lowest rows. Your selection is based on previously selected row dimension members. When using the top or bottom criterion, you specify the number of rows, such as top 10. The default is the top 25 rows.
A Dimension being ranked drop-down list box to specify the dimension to which ranking should be applied. A Column used for ranking drop-down list box to specify the data column on which data values are based. A Data Restrictions list box to specify standard data comparison operations, such as greater than, less than, and equal to. You can apply the comparison operator to data values, including negative data values, in one or more data columns; you can even apply criteria to compare values between two columns.
Buttons for OR and AND operators. If you define more than one criterion for a column, you can use these operators to link the criteria.
7 Select the Top check box, and enter a value of 30 in the Rows text box.
When you apply the query, Analytic Services retrieves the top thirty rows of the dimension.
9 From the Column used for ranking drop-down list, select Qtr1, Actual.
Qtr1, Actual is the column on which data values are based.
10 In the navigation panel, select the Data Filtering icon. Right-click and select Apply Query.
Your query results should look like Figure 89.
104
Figure 89
You can further filter the data output by specifying data comparison operations in the Data Restrictions list box.
13 Select the A value of option and type 500 in the value text box.
Observe that the is option in the Data drop-down list box changed to =.
14 Click the down arrow of the Data drop-down list box and select <=. 15 Click the down arrow of the Column used for filter drop-down list box and select Qtr1, Actual. 16 In the navigation panel, select the Data Filtering icon, right-click, and select Apply Query.
Notice that the query results now reflect only Actual and Budget data that are less than or equal to 500.
17 In the navigation panel, select the Data Filtering icon to display the data filter setting in the properties
panel.
18 In the Data Restrictions list box, select Qtr1, Actual <= 500, right-click, and select New Data Restriction. 19 In the Data drop-down list box, click the down arrow and select <. 20 Select the option, the data values in, and from the drop-down list, select Qtr2, Actual. 21 Under Combined With Other Restrictions, select the Or option. 22 In the navigation panel, click the Data Filtering icon to access the data filter panel.
105
23 In the Data Restrictions list box, double-click to create a new data restriction. 24 In the Data drop-down list box, click the down arrow and select is not. 25 Click the button for the #Missing Value option.
This option instructs Analytic Services to discard data that have #Missing values.
26 In the Column used for filter drop-down list, select Qtr1, Actual. 27 Under Combined With Other Restrictions, select the And option. 28 In the navigation panel, click the Data Filtering icon to access the data filter panel.
The data restrictions should be displayed as shown in Figure 90:
Figure 90
Data Filtering
29 Select the Data Filtering icon, right-click, and select Apply Query.
Analytic Services retrieves data for all the quarters. Notice that the retrieved data for Qtr1, Actual is less than or equal to 500 or is less than Qtr2, Actual. The results should be displayed as shown in Figure 91:
106
Figure 91
If you wanted to delete all data restrictions, select the Data Filtering icon in the navigation panel, right-click, and select Delete All Data Restrictions. Alternatively, select any data restriction in the Data Restriction box, right-click, and select Delete All Data Restrictions. To delete a particular data restriction, select the data restriction in the query outline, rightclick, and select Delete Data Restriction. Alternatively, select the data restriction in the Data Restriction box, right-click, and select Delete Data Restriction.
Sorting Data
In the data sort panel, you can sort the output from the Basic1 query in ascending or descending order.
A Dimension being sorted drop-down list box that lists the dimensions specified in row format in the query. A Column used for sort drop-down list box where you select one or more dimensions to be specified in column format in the query. An Ordering drop-down list box where you apply an ascending or descending sort order for the selected column.
107
You can also specify sorting to occur over a specific row dimension group. For example, you can sort by Product or by Market.
Figure 92
3 Click Ascending.
A down arrow is displayed next to Ascending.
108
Figure 93
7 Click the down arrow next to Qtr1, Actual and select Qtr1, Budget.
Observe that the order in the Ordering list box has defaulted to Ascending.
8 In the navigation panel, under Data Sorting, select Ascending, Qtr1, Budget, right-click, and select Delete
Sorting Rule.
The Ascending, Qtr1, Budget sorting rule is deleted from the query.
9 In the navigation panel, select the Data Sorting icon, right-click, and select Apply Query.
Analytic Services returns the results sorted in descending order for each quarter, as shown in Figure 94:
109
Figure 94
Note: The values that you are ranking and sorting must be the same. For example, you cannot specify Product in the Dimension being ranked drop-down list box and Market in the Dimension being sorted drop-down list box. If you specify different values, Essbase Query Designer automatically changes both values to the last specified value.
Enter member names into the worksheet in free-form retrieval mode. Use a drill action with the Within Selected Group option selected from the Zoom tab of the Essbase Options dialog box. Suppress rows that contain missing values, zero values, or underscore characters during data retrievals.
110
If you retrieve data into an asymmetric report, Analytic Services must perform additional internal processing to maintain the asymmetric layout. This processing may increase the retrieval time on large reports. For more information regarding optimizing reports, see the Analytic Services Database Administrators Guide. As part of the default Analytic Services installation, the Asymm.xlsl sample file is provided that illustrates how to create asymmetric reports.
Figure 95
Asymmetric Report
The sample file row and column dimension groups are asymmetric. Thus, the nested member groups from the Product dimension differ in member content within respective markets. For example, Colas and Fruit Soda are included in East but not in West. In addition, Actual data is displayed for Qtr1, whereas Budget data is displayed for Qtr2, Qtr3, and Qtr4. Also notice that the sample file displays styles for members of the Scenario and Year dimensions.
3 Leave the sample file open for the next tutorial task.
111
Figure 96
Analytic Services combines the Product members into all unique members. For example, Root Beer, which is displayed twice in Figure 95 on page 111, is displayed only once in the current view. Colas, which is displayed in only one market in Figure 95, now is displayed in East and West. Analytic Services also removes the blank line between Product row groups. A pivot action always eliminates any rows or columns in which all cells are empty.
112
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. In Spreadsheet Add-in, to drill down to a sample of members: 1. Select Essbase > Sample Data (Zoom In) to enable sampling. A check mark displayed next to the Sample Data (Zoom In) menu command indicates that sampling is enabled. 2. Select Essbase > Options. 3. In the Essbase Options dialog box, select the Zoom tab. 4. In the Sampling Percentage text box, type an integer between 1 and 100 to represent the approximate percentage amount of the Analytic Services cube to query during a Zoom In operation. The default value is 100.
Note: If Hybrid Analysis is enabled and in use, the sampling percentage also applies to queries on the underlying relational database.
5. Click OK to save the sampling percentage integer that you entered and any other Zoom options that you have set. The Essbase Options dialog box is closed and you are returned to the spreadsheet. 6. In the spreadsheet, select the member on which you want to drill down. 7. Select Essbase > Zoom In or double-click the primary mouse button. For example, if you typed 50 in the Sampling Percentage text box, approximately 50 percent of the members from your Analytic Services database and, if applicable, from the specified columns of the relational database are queried when you select Essbase > Zoom In.
Notes on Sampling
Sampling with the All Levels option is not supported with Hybrid Analysis members. Sampling with Same Level and Same Generation options are not supported.
When sampling is enabled, a combination of the algorithms used by Analytic Services and the sampling percentage you set sometimes makes the following scenarios possible:
During a Zoom In operation, no members are retrieved. This can happen in some cases where a dimension is small. During a Zoom In operation, all members are retrieved. This can happen in some cases where the sampling percentage is very small.
Spaces between rows and columns Cell values that contain text or data that is not defined in the database outline Member names in noncontiguous locations at the top of a worksheet
113
Spreadsheet formulas (see also Preserving Formulas When Retrieving Data on page 118) Visual cues (styles)
After you format and save a worksheet, you may want to retrieve and navigate through new data in the existing worksheet format. These topics provide the following information on working with formatted worksheets:
Observing the Rules for Working with Formatted Worksheets on page 114 Retrieving Data into Formatted Worksheets on page 114 Pivoting Data on Formatted Worksheets on page 117
the Formula Preservation options. Rule 3 The Pivot command is not available when the Retain on Retrieval check box is selected in the Mode tab of the Essbase Options dialog box. Rule 4 The Pivot command removes all cells that contain text other than database member names.
114
Figure 97
3 Select Essbase > Options and select the Display tab. 4 In the Cells option group, make sure that Adjust Columns is checked. 5 Select the Mode tab. 6 In the Formula Preservation group, select the Retain on Retrieval check box to enable Formula
Preservation mode.
Note: When Retain on Retrieval is selected, there may be a slight delay in retrieval time.
7 Click OK.
By default, an Analytic Services retrieval overwrites the spreadsheet formula with data values in the retrieval area of a worksheet. The retrieval process also eliminates formulas in cells outside the retrieval area. The Retain on Retrieval option, however, enables you to define retrievals that do not overwrite formulas in any area of the worksheet.
8 Select Essbase > Retrieve to update the worksheet with the latest data values.
Analytic Services determines that some text cells in the worksheet do not correspond to database member names. When Analytic Services is unable to resolve text in the worksheet, the message shown in Figure 98 is displayed:
115
Figure 98
In this example, the first unknown member detected is Market: (in cell A1). Analytic Services does not recognize the colon (:) that follows Market in the cell. If you click Yes, Analytic Services displays the next unknown member; if you click No, Analytic Services continues with the retrieval.
Note: If you work with formatted worksheets often, you may want to configure Analytic Services so that this message is not displayed. For information on configuring to avoid the Essbase message, see Pivoting Data on Formatted Worksheets on page 117.
9 Click No to close the dialog box and continue with the retrieval.
Analytic Services retrieves new data but retains the formatting and formulas in the worksheet. The result is shown in Figure 99.
Figure 99
116
As part of the default Analytic Services installation, the Inv.xls sample file is provided which illustrates how to pivot data in a worksheet. The sample file was saved with the Retain on Retrieval option disabled so that you can pivot on its worksheets.
Figure 100
3 Select Essbase > Options and select the Global tab. 4 In the Display Messages group box, clear the Display Unknown Members check box to avoid seeing the
Essbase messages when working with formatted worksheets, and click OK.
5 Using the right-mouse button, drag Sales (in cell A5) to the cell nested below Jan (C4).
Analytic Services pivots the Sales member group so that it is nested below the monthly members. During the pivot, however, Analytic Services retains only database elements. For example, all data for Stock to Sales and Adjusted for Audit is deleted during the pivot.
117
Figure 101
On the Mode tab of the Essbase Options dialog box, you must have the Advanced Interpretation option selected to enable Retain on Retrieval. The Formula Preservation options do not work with free-form retrieval mode. You must enable Retain on Retrieval to enable Retain on Keep and Remove Only and Retain on Zooms. You must enable Retain on Zooms to enable Formula Fill. When you select the Retain on Retrieval check box, the Suppress #Missing Rows and Zero Rows options on the Display tab are not selectable. If you have selected either of the Display options, the Formula Preservation options become unselectable automatically. When you select the Retain on Zooms check box, the Remove Unselected Groups option on the Zoom tab is not selectable. When you enable the Remove Unrelated Groups option, Retain on Zooms becomes unselectable automatically. When Retain on Retrieval is selected, retrieval time may be slightly delayed.
118
As a general rule, insert a blank row as the last row in the formula range. This action ensures that the cell range in the formula expands properly when you drill down on members when Retain on Zooms is selected. Formula arrays are not supported in Spreadsheet Add-in when the preserve formula option is on. If formula arrays are in the worksheet, Analytic Services does not preserve these types of formulas.
Figure 102
6 Press Enter.
The spreadsheet calculates the formula that you entered in cell G3 and now reflects Qtr1 as a percentage of Year. The result is shown in Figure 103.
Figure 103
7 Select Essbase > Options and select the Mode tab. 8 In the Formula Preservation group box, select the check boxes for Retain on Retrieval and Retain on Keep
and Remove Only, and click OK.
9 In cells D2, E2, and F2, respectively, select Variance, %Variance, and Scenario. 10 Select Essbase > Remove Only.
119
Analytic Services removes the selected columns but retains the formula that you entered, keeping it with the retained dataset. The result is shown in Figure 104.
Figure 104
Result of Removing Columns With Retain on Keep and Remove Only Selected
11 Select Essbase > Options and select the Mode tab. 12 In the Formula Preservation group box, select the check box for Retain on Zooms and click OK. 13 In cell A3, drill down (double-click) on Qtr1.
Analytic Services drills down on Qtr1 and moves the formula down with the Qtr1 member. The result is shown in Figure 105.
Figure 105
14 Select Essbase > FlashBack. 15 Select Essbase > Options and select the Mode tab. 16 In the Formula Preservation group box, select the Formula Fill check box and click OK. 17
In cell A3, drill down (double-click) on Qtr1.
Analytic Services drills down on Qtr1 and replicates the formula for each member of Qtr1 (Jan, Feb, and Mar). To view the replicated formulas, click in cells D3, D4, D5, and D6 and look at the new syntax in the spreadsheet formula bar. The result is shown in Figure 106.
120
Figure 106
18 Before moving on with the tutorial, complete each of the following tasks:
a. Select Essbase > Options and select the Mode tab. b. Clear all of the Formula Preservation options. c. Select File > Close to close the worksheet. You do not need to save the worksheet.
A worksheet contains multiple reports. A worksheet contains extraneous information that is not supported in a formatted report retrieval. You need to retrieve only a small subset of values from the server, thus dramatically decreasing retrieval time for large datasets. You need to retrieve data to an area of the worksheet other than the first column.
As part of the default Analytic Services installation, the Profit.xls sample file is provided that illustrates how to retrieve a range of data.
As shown in Figure 107, when you open Profit.xls, the range of cells from B2 through F9 has already been selected for you.
121
Figure 107
Figure 108
Figure 109
5 Select Essbase > Retrieve once again to update the selected range.
122
Analytic Services updates the data in the selected range, as shown in Figure 110.
Figure 110
EssCell retrieves data when you perform an Analytic Services retrieval or when you recalculate a worksheet through Excel. As part of the default Analytic Services installation, the Summary.xls sample file is provided with EssCell functions already set in cells B16 and B17.
123
Figure 111
In Excel, cells B16 and B17 contain the EssCell function. If you select either of these cells, you can view the syntax for the EssCell function in the formula bar at the top of the worksheet. The EssCell function in Excel is defined in a cell as follows:
=EssCell(mbrList)
A null value. If the parameters of the function are empty, Analytic Services returns the data value from the top of each dimension. A comma-delimited list of member names. Member names must be enclosed in double quotation marks, with only one member per dimension allowed. If you list no members from a particular dimension, the function returns the data value from the top member of the unspecified dimension. Furthermore, you can include aliases in the member list, subject to the same rules as member names. A worksheet cell reference. The reference must point to a cell that contains a valid member name. Member names, such as 200 and 300-10, need to be formatted as text cells, rather than numeric cells.
For example, the syntax for the EssCell function in cell B16 in the Summary.xls file for Excel is as follows:
=EssCell("Sales", A1, A2, B4, F5)
When you open the worksheet, the values in these cells are #N/A. To update the values with the data in your database, you must perform a retrieval from Analytic Services.
124
Figure 112
Now update the EssCell functions to retrieve data for a different state.
Figure 113
Tip: If the worksheet contains many EssCell functions, change the spreadsheet to manual
calculation mode. This change prevents the cells that contain EssCell functions from calculating until you retrieve data or calculate the worksheet manually. For more information on manual calculation mode, see the Excel documentation .
EssCell Messages
125
Reason The worksheet is not connected to a database. A member name in the list or reference is invalid. A text name in the function does not contain double quotation marks.
Note: For more information on EssCell functions, see the Spreadsheet Add-in online help.
Reduced disk usage Reduced database restructuring time Reduced time to back up the database
Database values that Analytic Services calculates dynamically take slightly longer to retrieve in Spreadsheet Add-in because calculations must be performed before retrieving data into the worksheet. For more information on dynamic calculation, see the Analytic Services Database Administrators Guide.
Tip: Enable the Navigate Without Data feature while you arrange the spreadsheet report so that
Analytic Services does not dynamically calculate the database as the report is being created. For more information on the Navigate Without Data feature, see Navigating Through the Worksheet Without Retrieving Data on page 56.
126
Because there may be a performance impact on retrieving data for dynamic calculation members, define visual cues, or styles, for these members so that you can identify them in Spreadsheet Add-in. As part of the default Analytic Services installation, the Asymm.xls sample file is provided that illustrates how to use Dynamic Calculation members.
Figure 114
6 In the Members group box, scroll down until you see Dynamic Calculations. 7 Select the Dynamic Calculations check box and click the Format button. 8 In the Font style list, select Bold Italic. 9 In the Color list, select Gray. 10 Click OK and then select the Display tab. 11 In the Cells option group, click Use Styles. Click OK. 12 Select Essbase > Retrieve.
Analytic Services displays the data and applies all the visual cues, or styles, that you set, including the newly set styles for dynamic calculation members and the styles you set in Chapter 2. You know that the columns for Variance and Variance% are dynamically calculated because Analytic Services displays these members in gray, bold, italicized font. (Variance and Variance% both display a red background because that style was previously set for all members of the Scenario dimension.)
127
Figure 115
Note: Occasionally, other styles that you have set will override a style for dynamic calculation members. For example, if a parent member is also a dynamic calculation member, and if you have set styles for both parent and dynamic calculations, the style for the parent member overrides the style for the dynamic calculation member. You must remove the style for parent members in order to see the style for dynamic calculation members. For more information on the precedence of styles, see Precedence of Overlapping Styles on page 67.
2 Select Essbase > Options and select the Zoom tab. 3 In the Zoom In option group, select Next Level.
128
4 Clear the Within Selected Group check box and click OK. 5 Select Essbase > Retrieve. 6 In cell B1, drill down on (double-click) Measures. 7 In cell B2, click Year. 8 Type Q-T-D in cell B2 and press Enter to enter a predefined Dynamic Time Series member (Q-T-D).
The result is shown in Figure 116.
Figure 116
Note: For a list of other possible Dynamic Time Series members, see the Spreadsheet Add-in online help.
9 Select Essbase > Options and select the Display tab. 10 In the Dynamic Time Series group box, select the Latest Time Period check box and from the drop-down
list box, select May, as shown in Figure 117.
Figure 117
Note: If you do not specify a latest time period, Analytic Services uses the first level 0 member (Jan) as the default.
129
Analytic Services displays data for the Q-T-D member, as shown in Figure 118. The data values in the worksheet are the aggregated values for April and May, because May is the month that you specified as the latest month in the quarter-to-date Dynamic Time Series.
130
The Sample Basic database that you are using for this tutorial does not contain predefined substitution variables. If the application designer had set a substitution variable in the database that you are using, you could enter a substitution variable directly into a worksheet. For example, you could open a blank worksheet and type member names, as shown in Figure 119.
Figure 119
Notice the substitution variable (CurMnth) in cell A2. When you enter a substitution variable directly into a cell, you must precede it with an ampersand (&). In this example, a retrieval produces the results shown in Figure 120.
Figure 120
Analytic Services queries the server for the value of the substitution variable CurMnth, which is August. Data is returned only for August.
Note: If you save a worksheet containing a substitution variable as a template, make sure that you save the worksheet before you retrieve data. For example, if you save the worksheet shown in Figure 120 as a template, each time you retrieve the template, August rather than the substitution variable CurMnth is displayed.
In both retrieval modes, enter member names directly into the worksheet. The following sections describe the similarities and differences between the two modes.
131
Precede all member names that consist of numbers with a single quotation mark. For example, for Product dimension member 100, type '100 in the worksheet. If you define a report that does not contain all the database dimensions, you may need to enter a dummy value, such as 0, in the first data cell. Analytic Services overwrites this value with the contents of the database cell upon retrieval. Be sure to use a numeric value as the dummy value.
2 Select Essbase > Options and select the Mode tab. 3 In the Retrieval option group, select Advanced Interpretation (the default setting) and click OK. 4 Enter member names and data as shown in Figure 121.
Note: If a member name consists of a number, such as 100, you must precede the member name with a single quotation mark (for example, '100). This rule also applies to member names with spaces between words.
Figure 121
132
Figure 122
Now define a free-form report that does not contain all the dimensions from the database. In Advanced Interpretation mode, you may need to enter a dummy data value, such as 0, into the first data cell to indicate to Analytic Services where the data starts in the worksheet. Be sure to use a numeric value as the dummy value. For example:
6 Select Essbase > FlashBack. 7 Delete cells A1, B1, and C1. 8 In cell B4, type 0 to provide Analytic Services with a data cell reference point.
Figure 123
Figure 124
133
You must precede all member names that consist of numbers with a single quotation mark. For example, for the Product dimension member 100, you must type '100 in the worksheet. You cannot cancel a retrieve in Free-Form mode. You cannot apply Analytic Services styles in Free-Form mode. Analytic Services removes blank rows and columns on any retrieval action. Excel does not support Report Writer formatting commands, such as {BRACKETS}, {DECIMAL}, and {EUROPEAN} in Free-Form mode. They are incompatible with the Excel formatting features. When you are in Free-Form mode, an Auto Sort Rows option is selectable in the Display tab of the Essbase Options dialog box. If you select this feature, Analytic Services retrieves data in symmetric rows. The rows are sorted according to the order specified in the database outline. Not all Formula Preservation and Modes options (Essbase Options dialog box, Mode tab) are available in Free-Form mode. To use Dynamic Time Series in Free-Form mode, do not put the Dynamic Time Series member and the latest time period (for example, "Q-T-D" ("Feb")) in the same cell. You need to type the Dynamic Time Series member, "Q-T-D" in one cell, and the latest time period within parentheses, ("Feb"), in a separate, adjacent cell.
2 Select Essbase > Options and select the Mode tab. 3 In the Retrieval option group, select Free Form. 4 Select the Display tab. 5 In the Cells option group, select Auto Sort Rows and click OK.
134
6 Enter the member names into the worksheet as shown in Figure 125.
Figure 125
Figure 126
2 Enter the member names into the blank worksheet as shown in Figure 127.
Figure 127
Figure 128
135
Analytic Services retrieves data into the worksheet for all descendants of Product and for the members that you entered in the worksheet. The result is shown in Figure 129.
Figure 129
Note: When Analytic Services completes the retrieval, the report script command is overwritten by the data it returns. You can use FlashBack to restore the previous view in Free-Form mode.
Figure 130
Caffeinated is an attribute dimension associated with the Product base dimension. Bottle is a level 0 member of the Pkg_Type attribute dimension. The Pkg_Type dimension is associated with the Product base dimension. A level 0 member is the lowest level member in a dimension.
3 Click any empty cell and select Essbase > Retrieve or double-click an empty data cell.
136
Analytic Services retrieves information on profits for the first quarter of the year for all members of the Product base dimension that are associated with both the level 0 attribute members of the Caffeinated attribute dimension (Caffeinated_True and Caffeinated_False) and the level 0 member Bottle of the Pkg_Type attribute dimension. The results should look like Figure 131.
Figure 131
4 You can drill down to data on the level 0 attribute members of the Caffeinated attribute dimension. The
results should look like Figure 132.
Figure 132
5 To drill down further for data on profits for the first quarter for all members of the East base dimension,
double-click cell E1. The results should look like Figure 133.
Figure 133
137
View generation and level names in the Essbase Member Selection dialog box or through Essbase Query Designer. Contact the Analytic Services application designer to see which generation and level names are defined in the database outline.
2 Select Essbase > Options and select the Mode tab. 3 In the Retrieval option group, select Advanced Interpretation. Click OK. 4 Enter member names as shown in Figure 134.
Figure 134
Figure 135
Figure 136
138
Figure 137
Note: Do not insert a space between the comma after 0 and the word Year. Generation and level names that are entered directly into a worksheet must be precise.
Figure 138
139
Figure 139
Data Schema: Shows the Fields in the data sources Filter Shelf: Fields placed here filters the data Group Shelf: Fields placed here arranges data into groups Mark Menu: Select the type of Mark here Color Shelf: Fileds placed here arranges the data into color-based groups Color Legend: Shows what the colors mean Mark Size Control: Changes the size of Marks Mark: Each Mark visually represents one or more rows from the data source
Hyperion Visual Explorer is launched directly from the Essbase menu in Spreadsheet Add-in for Excel, using the Visualize & Explore command. Using the technique of dragging interface elements, Analytic Services users can quickly summarize and visualize data from an Analytic Services database. Hyperion Visual Explorer then offers users the option to pass data back to the Excel worksheet from which it was launched, or to insert the data into a new Excel worksheet where additional analysis can be performed.
Note: For detailed information on using Visual Explorer, refer to the online help that is accessed from the Help menu in Hyperion Visual Explorer.
The following example uses Hyperion Visual Explorer to identify quickly the most profitable product sales by quarter in the Sample Basic database.
To use Hyperion Visual Explorer to identify the most profitable product sales by quarter:
1 Open a worksheet. 2 Select Essbase > Visualize & Explore.
The Hyperion Visual Explorer interface is displayed.
140
3 Optional: If you are not already logged in to the Sample Basic database, you can log in from Hyperion
Visual Explorer by completing the following tasks:
a. From Hyperion Visual Explorer, select Data > Connect to Data Source. The Essbase System Login dialog box is displayed. b. Select the server that you want to access from the Server list box. If the server name that you want to connect to is not in the list, you can type in the name of the server. c. Press Tab to move to the Username text box and type your username. d. Press Tab to move to the Password text box and type your password. e. Click OK to connect to the server. When your server connection is complete, a list of available Application and Database pairs is displayed in the Application/Database list. f. Double-click the application and database pair that you want to connect to in the Application/Database list box. Alternatively, you select the application and database pair and click OK. If the application is not already running, Analytic Services automatically starts it. There may be a brief pause as the application loads; the time required to start an application depends on the size and number of databases contained within the application and the size of their indexes.
4 Drag Quarter from the Database Schema and drop it on the Column shelf. 5 Drag Sales from the Database Schema and drop it on the Column shelf, placing it to the right of
Quarter.
6 Drag Profit from the Database Schema and drop it on the Color shelf.
At this point, you can see which dimension is the most profitable based on sales as indicated by the darkest color bar.
7 Drag Region from the Database Schema and drop it on the Row shelf. 8 Drag Gen3, Product from the Database Schema and drop it on the Row shelf, placing it to the right of
Region.
When you drag a generation to a shelf, all generations that are ancestors of the selected generation are automatically included in this placement. However, if you press and hold down the Control (Ctrl) key while dragging a generation to a shelf, only that specific generation is included in the placement.
9 To ignore the Diet alternate rollup in this analysis, right-click Gen2, Product in the Row shelf and select
Filter.
Diet is an alternate rollup that contains shared members. You can deselect it from the query so that members that are already shown are not redisplayed.
Note: Alternatively, instead of using the Filter command, from the Visual Explorer menu bar, you can select Analysis > Shared Members. In the Shared Members dialog box, deselect the Product check box to suppress shared members (alternate rollups) from the Product dimension.
141
10 In the Filter dialog box, deselect the Diet member, and click OK. 11 Review the visual worksheet.
As shown by the dark green bars in Figure , Product 100-10 in the East is the most consistently profitable product based on sales. Bar Chart Showing Product 100-10 East as Most Profitable by Sales
You are now ready to pass the data from the visual worksheet into an Excel worksheet in Spreadsheet Add-in.
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. In Hyperion Visual Explorer, you can further analyze the data in the Sample Basic database by completing any of the following tasks:
Drag State from the Database Schema and drop it on the Groups shelf. The view is recalculated so that each column is now broken into individual states, separated by lines. Hover over individual sections and view data on each state. For example, Product 100-10 for New York in the East region during Qtr1, shows that the Sales total for New York is $1,998.00.
Drag Gen3, Population from the Database Schema and drop it on the Groups shelf. The view is recalculated so that each column is now broken into market size based on population, separated by lines. Hover over individual sections and view Sales data by market size.
12 In Hyperion Visual Explorer, select File > Update Excel to transfer data from the visual worksheet to the
currently opened worksheet in Excel.
Note: Alternatively, you can select File > Update Excel (New Worksheet) to transfer the data from the visual worksheet to a new worksheet in Excel.
142
Linking a File to a Data Cell on page 143 Linking a Cell Note to a Data Cell on page 146 Linking a URL to a Data Cell on page 147 Accessing and Editing Linked Reporting Objects on page 149
For additional information on using linked reporting objects, see the Spreadsheet Add-in online help.
143
Figure 140
Figure 141
Linking a File
6 In the Linked Objects Browser dialog box, click the Attach button.
Analytic Services displays the Attach Linked Object dialog box.
7 Under the Attachment Type group box, select File, as shown in Figure 142.
Figure 142
8 Click the Browse button located next to the File Name text box.
Analytic Services displays the Browse Files dialog box.
144
9 Go to the \AnalyticServices\client\sample directory and select the Budasmp.txt file. 10 Click Open. 11 Under File Description, enter a brief description for the file as indicated in Figure 143.
Figure 143
12 Click OK to close the dialog box and link the file to the cell.
Analytic Services copies the file to the server and establishes a link to the current data cell.
To apply styles:
1 Select Essbase > Options and select the Style tab. 2 In the Data Cells area, select Linked Objects. 3 Click Format. 4 From the Font style list box, select Italic. 5 From the Color list box, select Purple. Click OK. 6 Select the Display tab. 7 In the Cells option group, select the Use Styles box and click OK. 8 Select Essbase > Retrieve to refresh the worksheet and apply the styles.
Cell D5 (the cell to which you just attached the linked file) is now displayed in purple, italic font, as shown in Figure 144. Analytic Services also refreshes the worksheet with the other options set in the Essbase Options dialog box.
145
Figure 144
Leave the file (Asymm.xls) open for the next tutorial task.
4 Under the Attachment Type group box, select Cell Note (see Figure 145). 5 In the Cell Note text box, type the note as indicated in Figure 145.
Figure 145
146
6 Click OK to close the dialog box and link the cell note.
Analytic Services copies the note to the server and establishes a link to the current data cell.
7 Click Close to close the Linked Objects Browser dialog box. 8 Select Essbase > Retrieve to refresh the worksheet and apply the style that you defined for linked objects.
Now Analytic Services displays two data cells (C5 and D5) in purple, italic font to represent a cell that contains a linked reporting object. The result is shown in Figure 146.
Figure 146
Leave the Asymm.xls file open for the next tutorial task.
If you have a Web browser and Internet access, follow these steps to link a data cell to the Hyperion Web site:
Figure 147
147
12 Under the Attachment Type option group, select URL, as shown in Figure 148.
Figure 148
13 Enter a URL in the Location text box and a brief description in the URL Description text box, as shown in
Figure 149.
Figure 149
Entering text in the URL Description text box is optional. The text field for entering the URL location is limited to 512 characters. The text field for entering the URL description is limited to 80 characters.
14 Click OK to close the dialog box and link the URL to the cell.
Analytic Services copies the URL string to the server and establishes a link to the current data cell.
Note: The syntax for the URL is not checked at the time of creation; Analytic Services checks the syntax when the user accesses the URL from the worksheet. The default Web browser checks for the existence, or validity, of the URL.
148
15 Click Close to close the Linked Objects Browser dialog box. 16 Select Essbase > Retrieve to refresh the worksheet and apply the style that you defined for linked objects.
Leave the Asymm.xls file open for the next tutorial task. The following topics explain how to access linked reporting objects from Spreadsheet Add-in.
Select the cell (as identified by the style applied to it) and select Essbase > Linked Objects. Enable double-clicking for linked object browsing.
Note: If you enable double-clicking for linked object browsing, double-clicking behavior changes for retrieving data and performing drill actions. For more information on these changes, see the Spreadsheet Add-in online help.
For this tutorial, you access the linked reporting objects that you created in the previous sections by using the Essbase menu item instead of the double-clicking action.
To access the external file that you previously linked to a data cell:
1 In the Asymm.xls file, select cell D5. 2 Select Essbase > Linked Objects. 3 In the Linked Objects Browser dialog box, select the Budasmp.txt file, as shown in Figure 150.
Figure 150
149
The Budasmp.txt file is opened from the source application, as shown in Figure 151.
Figure 151
Note: You can edit the contents of a file in the source application. After the edits are made and the file is saved, you can re-attach the edited file by clicking the Edit button in the Linked Objects Browser dialog box. Analytic Services displays the Re-attach Linked Object dialog box, which you can use to re-attach, or relink, the edited file to the data cell.
5 Close the Budasmp.txt file and click Close to close the Linked Objects Browser dialog box.
Leave the Asymm.xls file open for the next task.
To access and edit the cell note that you previously created:
1 In the Asymm.xls file, select cell C5. 2 Select Essbase > Linked Objects.
The Linked Objects Browser dialog box displays the cell note that is linked to the selected data cell.
3 In the Linked Objects Browser dialog box, select the cell note, as shown in Figure 152.
150
Figure 152
Figure 153
If you simply want to view the contents of the cell note, click the View/Launch button instead of the Edit button in the Linked Objects Browser dialog box.
Figure 154
6 Click OK to close the Edit Cell Note dialog box and save the edits you made to the note.
Analytic Services saves the edits to the cell note on the server.
151
3 In the Linked Objects Browser dialog box, select the URL, as shown in Figure 155.
Figure 155
152
Figure 156
Figure 157
4 Click OK to close the Edit URL dialog box and save the edits that you made.
Analytic Services saves the edits to the URL on the server.
6 Close the Web browser. 7 Click Close to close the Linked Objects Browser dialog box. 8 Close the Asymm.xls file without saving it.
153
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. To access multiple databases: 1. Select Essbase > Connect. 2. In the Essbase System Login dialog box, select the server that you want to access from the Server list box (or type in the name of the server). 3. Press Tab to move to the Username text box and type your username. 4. Press Tab to move to the Password text box and type your password. 5. Click OK to connect to the server. When the server connection is complete, a list of available application and database pairs is displayed in the Application/Database list. 6. Double-click the Application/Database pair that you want to connect to in the Application/Database list. Alternatively, you can select the Application/Database pair and click OK. If the application is not already running, Analytic Services automatically starts it. There may be a brief pause as the application loads; the time required to start an application depends on the number of databases, the sizes of the databases, and the sizes of the indexes of the databases contained within the application. 7. Open a new worksheet and repeat the steps to connect to additional databases. You can open one database at a time per worksheet.
For information on connecting to multiple databases from Essbase Query Designer, refer to Chapter 2.
The Style tab of the Essbase Options dialog box contains a Connection Information text box. This box displays connection information for the active worksheet. The Essbase Disconnect dialog box lists all active worksheets and their connection information. This dialog box also enables you to disconnect one or more worksheets from their respective databases.
154
You can set visual cues, or styles, for cells tagged as linked objects. These cells are access points to the linked partition within the linked database. Two options are available for accessing a linked partition from a data cell in Spreadsheet Add-in:
Select the cell and select Essbase > Linked Objects. Enable double-clicking for linked object browsing. If you enable double-clicking for linked object browsing, double-clicking behavior changes for retrieving data and performing drill actions. For more information on these changes, see the Spreadsheet Add-in online help.
When you select Essbase > Linked Objects from a linked partition cell, Analytic Services completes the following actions:
Analytic Services displays the Linked Objects Browser dialog box, which contains a list of possible partitions which you can access. From this dialog box, select the partition to connect to. The Linked Objects Browser dialog box may also contain a list of linked reporting objects, such as cell notes and external files. For more information on linked objects, see Using Linked Reporting Objects on page 143.
After you select a partition, Analytic Services creates a new worksheet that contains corresponding members and dimensions for the cell in the linked partition.
You can now perform operations such as drill down and drill up to get more information on the new worksheet.
Note: The Sample Basic database that you are using for this tutorial does not contain a linked partition. However, the instructions for accessing a linked partition are shown as an optional task in the light-colored box below.
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. To access a linked partition in Spreadsheet Add-in if the Analytic Services application designer has set up a linked partition: 1. Locate a linked object cell, as indicated by the style applied to the cell. 2. Access the Linked Objects Browser dialog box in either of these ways:
Select Essbase > Linked Objects to open the Linked Objects Browser dialog box. In the Essbase Options dialog box, select the Enable Linked Object Browsing check box to enable double-clicking to view linked objects.
3. Select the partition that you want to connect to and click View/Launch. Analytic Services creates a new worksheet that contains the dimensions and members for the cell in the linked partition.
155
You need the proper privileges to access a linked partition. If your user account and password match the account information for the linked partition, Analytic Services establishes a connection with the linked partition. Otherwise, Analytic Services displays the Essbase System Login dialog box for you to enter the user account and password manually.
The Retrieve & Lock command retrieves data into the worksheet while locking the corresponding data area on the server. When you perform a subsequent retrieval, Analytic Services automatically unlocks the previous data values.
Note: The Retrieve & Lock command is not supported with Dynamic Time Series members.
The Lock command locks information that you have already retrieved. When you perform a subsequent retrieval, Analytic Services automatically unlocks the previous data values. The Update Mode check box in the Mode tab of the Essbase Options dialog box automatically locks the corresponding database area for each retrieval.
To update the server with data values from the worksheet, use the Send command on the Essbase menu. After updating the server, the Send command automatically unlocks data (unless you are in Update Mode). You must clear Update Mode to stop the automatic locking of blocks. You can unlock data blocks in two ways:
The Unlock command unlocks all blocks that you have locked.
156
The server automatically unlocks data blocks that have been locked for the maximum time allowed as defined by the Analytic Services system administrator. Automatic unlock ensures that blocks are not locked for extended periods of time.
The P&l.xls file is installed as part of the default Analytic Services installation. This file illustrates how to update data on the server.
Figure 158
4 Change the value for Sales in Jan (cell B12) to 4000 and press Enter.
Analytic Services changes the affected data values.
5 Select Essbase > Send to update the server with the new values.
Analytic Services updates the server and unlocks the data blocks.
157
Figure 159
Database Calculation
Sending updated data to the server does not automatically recalculate the database. If you have the appropriate security privileges to perform database calculations, you can calculate the database from Spreadsheet Add-in with the Calculation command. For this tutorial, you will not actually calculate the Sample Basic database. For more information on Analytic Services calculations, see the Analytic Services Database Administrators Guide.
When you select Essbase > Calculation, Analytic Services displays the Essbase Calculation dialog box, as shown in Figure 160.
158
Figure 160
The Connection Information text box displays the active database connection. The Select Calc Script list box contains the server-based calculation scripts to which you have access. The Database State status box indicates the current calculation state of the database. The following states are possible:
Data values have been modified since the last calculation Indicates that data values have changed since the database was last calculated. The last calculation may have been an entire calculation of the database or a calculation of any subset of the database.
No data values have been changed since the last calculation Indicates that the data in the database has not changed since it was last calculated. The last calculation may have been an entire calculation of the database or a calculation of any subset of the database.
Caution! If the last calculation was performed on a subset of the data, the entire database may not have
been calculated since values last changed. To ensure that the results of calculations are up-todate, you may want to run a calculation of the entire database. For more information, contact the Analytic Services system administrator.
159
4 Select Central (in cell B1) and Root Beer (in cell B2) as the members to be represented in the resulting
worksheets.
7 Select Central in the Member list box, and select Same level in the Choose Level for Selected Member
option group.
8 Select Root Beer in the Member list box, and select Next level (the default setting), as shown in
Figure 161.
160
Figure 161
The replicated, or cascaded, spreadsheet reports now provide data for members at the same level as Central (East, West, and South) and for members at the level below Root Beer (Old Fashioned, Diet Root Beer, Sarsaparilla, and Birch Beer).
9 Click the Destination Options tab. 10 In the Destination Directory text box, type C:\temp as the name of the directory where you want the
cascaded worksheets to be stored.
You can also click Browse to select a destination directory from the Browse dialog box.
11 In the Destination Types group box, select the Separate Workbooks option (the default setting) to create
separate spreadsheet files for each cascaded worksheet.
You can also choose to create only one workbook with separate worksheets for each cascaded report, or you can choose to send the cascaded reports to the printer.
12 In the File Information group box, select the Overwrite Existing Files check box (the default setting).
When this check box is selected, Analytic Services overwrites any cascaded worksheets with the same file name. You can also select the Open Created Files check box to open each cascaded file in the spreadsheet as it is created.
Caution! Depending on the number of replicated worksheets that you want to create, the Cascade
command can create more worksheets than can be stored in the memory of your computer. Therefore, the Open Created Files option should not be used when you are replicating large numbers of worksheets.
13 In the Naming Information group box, type BUD in the Prefix text box.
The completed Destination Options tab should look like Figure 116.
161
Figure 162
When you assign a prefix or suffix in the Naming Information group box, the worksheet files that are generated as a result of executing the Cascade command are named with the prefix or suffix that you specify. The default is to generate worksheet names that are numbered 1 through n, where n is the total number of worksheets created. The syntax for the file names is PrefixnSuffix.xls for Excel. If you do not specify a prefix or suffix, Analytic Services creates the worksheets 1.xls, 2.xls, and so on. If you are creating a single workbook, the same naming convention is used for the worksheet tab names within the workbook.
Caution! Do not specify a prefix and suffix combination that leaves no characters free for Analytic
Services to create unique file names. If file names are duplicated, Analytic Services overwrites the duplicate file name with the last cascaded worksheet.
162
Figure 163
15
Select the Copy Formatting check box to copy the formatting of the source worksheet into each cascaded worksheet.
Copy formatting copies only the visual cues set using Analytic Services and the cell formatting that you set using the worksheet. It does not copy formulas, column formatting, worksheet formatting, or graphs.
16 In the Header and Footer text boxes, specify a header or footer name to be used for all of the cascaded
worksheets.
17 In the Sheet Formatting group box, select the Suppress Missing Rows check box so that rows containing
only #Missing values are not replicated.
18 In the Table of Contents group box, select the Include Table of Contents check box.
This creates a Table of Contents text file that lists all replicated worksheets, their creation dates, and their member content. By default, Analytic Services names the Table of Contents file with the extension .lst.
20 Using a text editing application, open the Table of Contents file from the destination directory that you
specified earlier. This file is named BUD0.LST and contains a list of all cascaded worksheets, as shown in Figure 164.
163
Figure 164
Retrieving Currency Conversion Data on page 164 Connecting to the Sample Currency Databases on page 165 Performing Ad Hoc Currency Reporting on page 167
A main database that contains data in local and converted values A currency rates database that contains exchange rates
164
Apply exchange rates from the currency rates database to local values from the main database to derive converted values. The Analytic Server product installation includes a sample currency conversion application (installation options) that consists of two sample databases: a main database called Interntl and a currency rates database called Xchgrate. The Sample Interntl database consists of five dimensions: Year, Measures, Product, Market, and Scenario. All but the Market and Scenario dimensions are identical to the Sample Basic database. The Market dimension includes Toronto, Vancouver, Montreal, Germany, Sweden, Switzerland, and the UK. The Scenario dimension handles different currency types (such as Actual and Budget) in both local and converted currencies. In this database, all local currencies are converted to the common currency of U.S. dollars. The Sample Xchgrate database, which is a subset of the main database, contains four dimensions:
The CurTime dimension accommodates different exchange rates by month. The CurName dimension contains names of currencies from their respective markets. The CurCategory dimension contains the names of the various currency categories that may be applied to the categories of Measures. For example, one rate is applied to Profit and Loss items and another rate is applied to Balance Sheet items. The CurType dimension enables a currency database to contain rates for different scenarios, such as Actual and Budget.
165
Figure 165
4 From the \AnalyticServices\client\sample directory, open Convert.xls. 5 Select Essbase > Retrieve.
The worksheet contains values for Actual and Budget as they are displayed after conversion.
Figure 166
The worksheet contains data that is converted to U.S. dollars. Values for New York remain the same, but German values are converted. Analytic Services converts the values by using the exchange rates from the Sample Xchgrate database.
6 From the \AnalyticServices\client\sample directory, open Rates.xls. 7 Connect to the Sample Xchgrate database. 8 Select Essbase > Retrieve.
The portion of the result is shown in Figure 167.
166
Figure 167
The worksheet contains all possible combinations of exchange rate scenarios, categories, and types by month. Because this example converts to U.S. dollars (USD), the sample file contains a base rate of 1 for USD. Therefore, the local and converted figures remain the same for New York. Analytic Services converts the figures for Germany, however, by using data values in the currency database, as follows:
Analytic Services divides data values from Actual by values in the Act xchg currency type. Analytic Services divides data values from Actual @ Bud xchg by values in the Bud xchg currency type. Analytic Services divides data values from Budget by values in the Bud xchg currency type. Analytic Services bases all figures in Convert.xls on the CurCategory of P&L and the CurTime of Jan.
Note: A conversion can be defined as a multiplication or division operation on exchange rates. The definition is determined by the application designer.
2 Select Essbase > Connect and connect to the Sample Interntl database. 3 Select Essbase > Retrieve. 4 Select Essbase > Currency Report.
Analytic Services displays the Essbase Currency Report dialog box, as shown in Figure 168.
167
Figure 168
The Essbase Currency Report dialog box enables you to modify the exchange rates applied to the retrieval interactively. The box contains options for currency settings, names, categories, and years. For more information on these options, see the Spreadsheet Add-in online help.
Note: The dimension names CurName, CurType, and CurCategory are default names for a currency database. The application designer can use different names for any of these dimensions.
6 Click Apply to apply the settings. 7 Select Essbase > Retrieve to refresh the data in the worksheet with the results of the ad hoc conversion.
In the example shown in Figure 169, Analytic Services converted the New York and Germany figures to Canadian dollars (CAD).
Figure 169
8 Click the Clear button in the Essbase Currency Report dialog box to make currency reporting unavailable
and return to standard retrieval mode.
Performing a currency report retrieval does not change values in the database. The process performs a temporary conversion as part of the retrieval. Converted data values may not always balance, because the ad hoc conversion is performed on values that were previously calculated or previously consolidated in another currency. If values must balance and be verified, they must be converted to the target currency in the database, calculated, and retrieved. This procedure differs from the ad hoc currency conversion retrievals described in this section.
168
Chapter
Using Drill-Through
4
Analytic Integration Services is a product that works with Analytic Services and Spreadsheet Add-in for Microsoft Excel. Integration Services is a suite of tools and data integration services that serves as a bridge between relational data sources and Analytic Server. Drill-through is one of these tools. Drill-through enables you to view and customize spreadsheet reports that display data retrieved from relational databases. Your organization must license Integration Services for you to use the drill-through tool. This chapter provides a brief overview of the drill-through feature and a tutorial that guides you through tasks for using drill-through. It also include a description of the sample database, spreadsheet file, and drill-through report used for the tutorial.
In This Chapter
About Drill-Through . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Before You Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Using Drill-Through . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 Disconnecting from Analytic Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
169
About Drill-Through
Despite the benefits of the multidimensional database for storing analytic data, some data elements required for analysis are better suited to the relational structure of a relational database. The scope of data residing in an Analytic Services database is typically at a summary level, where data is summarized and calculated for planning and analysis. Detailed, transactional data usually is not examined during the planning and analysis of a business. For example, you might use Analytic Services to analyze retail sales for the first quarter in the Eastern region. Detailed data, such as a list of customers who purchased a particular product in a particular size, is unnecessary during the normal course of analyzing business performance. As you analyze sales results, however, you may want to view more detailed information. Drillthrough enables you to drill from the summarized and calculated data stored in Analytic Server of your organization into detailed data stored in a relational database. The database administrator predefines a data mapping for you from Analytic Services to the relational source. For example, the Analytic Services members East, West, South, and Central might map to a field called Region in a relational database. As you navigate through data in the spreadsheet, Analytic Services can detect how the current data maps to the relational source. For example, suppose you select cell G4 in Figure 170.
Figure 170
The dimensional attributes of the cell are as follows: Actual, Profit, New York, Feb, and Product. The combination of one or more of these attributes becomes the basis for a drillthrough query that returns data from the relational source. From Spreadsheet Add-in, you can access a predefined drill-through report that is based on the dimension or member intersections of Analytic Services data cells in the sheet. Using Analytic Integration Services Console, an administrator at your organization sets up drill-through reports for you to access; that is, each drill-through report is already defined in terms of what to retrieve from the relational source. In Spreadsheet Add-in, you can access drill-through reports from the Linked Objects Browser dialog box, as shown in Figure 171. When you select a drill-through cell in the sheet and select Essbase > Linked Objects, the Linked Objects Browser dialog box displays a drill-through entry that you can select and launch.
170
Figure 171
You can define a style for cells tagged as drill-through to identify which cells in the spreadsheet are associated with drill-through reports. For more information on definining styles for drill-through cells, see Accessing Drill-Through Reports from the Spreadsheet on page 177. About the Drill-Through Wizard An administrator at your organization can predefine drill-through reports for you to view or to customize. The person who develops a report determines whether the report can be customized by drill-through users. If a report can be customized, you use the Drill-Through Wizard to customize it. The Drill-Through Wizard is a graphical user interface that steps you through the following customization tasks:
Selecting columns to retrieve from the relational data source Decide which columns from the predefined report you need to see.
Selecting the display order for columns Change the default display order of columns across the sheet.
Selecting a sort order for data Select an ascending or descending sort order for a particular column; for example, sort a list of store managers in alphabetical order.
Selecting data filters Define a filter on a column so that only data meeting certain criteria is retrieved.
171
A sample Analytic Services database is the basis for the examples in this tutorial. The database administrator creates this sample Analytic Services database using the sample metaoutline supplied with Integration Services. For information on creating the Integration Services sample application, which includes the sample metaoutline, see the Integration Services Console online help. A sample spreadsheet file, Essdt.xls, contains a sheet with the appropriate member intersections for the sample drill-through report. For more information on the sample database, spreadsheet file, and drill-through report, see About the Samples Used in This Tutorial on page 176. If you plan to follow the examples in a live working session, check with the person at your organization who installs the Integration Services product family for information on the sample database that you need for drill-through, and to which instance of Analytic Server you should connect.
Note: The Essdt.xls file also contains sample results of the drill-through reports when you run them without customizing the reports. The results are provided in separate sheets in the workbook so that you can see the sample report results without working through the tutorial. For more information about the sample reports, see About the Samples Used in This Tutorial on page 176.
Before starting the tutorial, make sure you meet the following requirements:
The drill-through module is installed automatically when you install Spreadsheet Add-in. This module is transparent until you invoke it from the Linked Objects Browser. For more information on installation, contact the Analytic Services system administrator.
The Analytic Services system administrator must install the Analytic Server. You must have access to Integration Services and to an instance of Analytic Server. For more information, contact the Analytic Services system administrator or the person who administers Integration Services at your organization. You must have access to the underlying relational database (typically using a username and password that are different from those that you use for Analytic Services). To obtain the appropriate access, contact the Analytic Services system administrator or the person who administers Integration Services at your organization. Make sure that the Essdt.xls sample drill-through report spreadsheet is available in the \AnalyticServices\client\sample directory. To use the Essdt.xls sample drill-through report spreadsheet, you need to log in to a computer with both Analytic Server and Integration Services installed. You must perform a member and data load and calculate the data for the sample Analytic Services database that you will access from Spreadsheet Add-in.
172
The sample database that contains the drill-through report must be set up and running. The sample drill-through reports used in this tutorial (called Market Detail, Measures Detail, and Product Detail) are available with the sample spreadsheet files. Contact the person at your organization who installs Integration Services to find out the name of the sample database to use for drill-through.
For more information on Integration Services installations, see the Analytic Integration Services Installation Guide. For more information on Analytic Services installations, see the Analytic Services Installation Guide. Keep in mind the following guidelines during the tutorial:
Each tutorial task builds upon the previous one, and tasks must be followed in succession. Optional tasks are displayed in gray boxes. These tasks are included for your reference only and should not be performed as part of the tutorial. You can find more information on these tasks in the Drill-Through online help. The examples used in this tutorial are based on the sample database that is included with the Integration Services installation. Contact the person at your organization who installs Integration Services for information about accessing the sample database. Set the options in the Essbase Options dialog box as described in Setting Essbase Options on page 173. If the option settings are different, the illustrations presented in this chapter may not match the spreadsheet view. If you make a mistake during the tutorial, select Essbase > FlashBack to return to the previous spreadsheet view.
173
Figure 172
4 Select the Zoom tab. 5 Select the appropriate check boxes and option buttons so that your display matches Figure 173.
Figure 173
6 Select the Mode tab. 7 Select the appropriate check boxes and option buttons so that your display matches Figure 174.
174
Figure 174
8 Select the Style tab. 9 Select the appropriate check boxes and option buttons so that your display matches Figure 175.
Figure 175
10 Select the Global tab. 11 Select the appropriate check boxes and option buttons so that your display matches Figure 176.
175
Figure 176
12 Click OK to save the settings for this session and close the Essbase Options dialog box.
Figure 177
For this spreadsheet view, detail-level data exists in a relational data sourcedata that is not available from Analytic Services. For example, the relational source contains columns of data for market detail, measures detail, and product detail. This steps in this tutorial walk you through a sample drill-through session, where you will drill down from the data shown in Figure 177 into the detail data from the relational source.
176
This tutorial uses two sample drill-through reports, Measures Detail and Market Detail. As with all drill-through reports, these reports have been predefined to retrieve specific columns from the relational source. You will use the Drill-Through Wizard to customize the report, Measures Detail.
Note: The sample file also contains two more sample reports called Product Detail and Two reports that you can use for drill-through practice. In Two reports, select the drill-through cell B3 to select from two drill-through reports, Product Detail and Market Detail, select cell B6 to view Market Detail, and cell G3 to view Product Detail.
In addition to the sample drill-through reports, the Essdt.xls file provides sample results of the drill-through reports. The following list describes the drill-through results that are provided:
The Market Detail drill tab displays the results for Market Detail when you run a drillthrough report on cell G4 without customizing the report. The Measures Detail drill1 tab displays the results for Measures Detail when you run a drillthrough report on cell C4 without customizing the report. The Measures Detail drill2 tab displays the results for Measures Detail when you run a drillthrough report on cell G6 without customizing the report. The Product Detail drill tab displays the results for Product Detail when you run a drillthrough report on cell D5.
Using Drill-Through
Drill-through consists of these tasks as discussed in the following topics:
Accessing Drill-Through Reports from the Spreadsheet on page 177 Selecting Drill-Through Reports to View or Customize on page 182 Selecting and Ordering Columns on page 187 Ordering Data on page 188 Filtering Data on page 190
177
To access the predefined drill-through report, double-click a drill-through cell in the spreadsheet (or select a range of cells and select Essbase > Linked Objects). You can set styles for cells tagged as drill-through to help identify which cells in the sheet are associated with drill-through reports. When you double-click a drill-through cell, Analytic Services displays the Linked Objects Browser dialog box, which displays a drill-through report entry. A single cell can be associated with multiple reports. The Linked Objects Browser dialog box also displays entries for linked partitions and other linked object types, such as cell notes, URLs, and application files. After you view or customize the drill-through report, Integration Services retrieves data from the relational source and displays the results in a new spreadsheet.
2 Set a style for data cells that are associated with drill-through reports.
The sample file should look like Figure 178. In this example, the Market Detail tab is selected. The default tab that is selected when you first open the file may be different.
Figure 178
The sample file shows data for specific members of an Analytic Services database. This sample file contains the following three predefined drill-through reports, indicated by the tabs of the spreadsheet: Market Detail, Measures Detail, and Product Detail. Using drill-through, you can access these reports and customize them so that Integration Services retrieves only the data that you need and displays it in the desired format.
178
3 Select the Market Detail tab on the spreadsheet. 4 Select Essbase > Connect and connect to the appropriate sample database.
Note: A specific sample database for drill-through is not automatically provided with Integration Services or Analytic Services. Contact the person at your organization who installs Integration Services to set up a database for you.
5 Select Essbase > Options and select the Style tab. 6 In the Data Cells option group, select the Integration Server Drill-Through check box and click Format.
Analytic Services displays the Font dialog box.
7 Select Bold Italic from the Font style list box. 8 Select Blue from the Color drop-down list, and click OK to return to the Essbase Options dialog box.
Figure 179
In the Essbase Options dialog box, Analytic Services displays an example of the selected style in the Sample box. Figure 180 shows how the Essbase Options Style tab looks with the style for drill-through cells defined.
179
Figure 180
9 In the Essbase Options dialog box, select the Display tab, and then select the Use Styles check box, as
shown in Figure 181.
Figure 181
10 Click OK to close the Essbase Options dialog box. 11 Select Essbase > Retrieve to display the new style in the spreadsheet.
In Figure 182, the sample drill-through report is associated with the data cells for Actual, Profit, and Product at the month and Eastern state levels, so that these data cells are displayed in blue, bold, and italic font.
180
Figure 182
The same physical table and column in the relational source database The same member level in the underlying OLAP metaoutline The same hierarchy
A multi-cell drill-through operation is valid only if all three criteria noted above are met. A message is displayed if the combination of cells you select is not valid for performing a multicell drill-through operation.
Select Essbase > Linked Objects to open the Linked Objects Browser dialog box, as shown in Figure 183.
Figure 183
181
In the Essbase Options dialog box (Global tab), select the Enable Linked Object Browsing check box. This process enables you to double-click a linked object cell to open the Linked Objects Browser dialog box. This option works only with single-cell selection. If you select a range of cells, use the Essbase > Linked Objects menu command.
3 Select the drill-through report entry and click View/Launch. 4 In the Select Drill-Through Report dialog box, select Market detail and click Execute.
The results of the drill-through report are displayed in a spreadsheet. The results of the Market Detail report shows that the regional director for the East region is John West and that the population for New York is between 18,000,001-21,000,000.
Figure 184
If there is only one report available for the cells that you select in the spreadsheet and if that report is not designed to be customized, the drill-through process generates the report and immediately displays the results in the spreadsheet. The person at your organization who develops drill-through reports specifies whether you can customize a report and whether you need to log in to access the drill-through report and the relational data source.
5 Follow the steps in Selecting Drill-Through Reports to View or Customize on page 182 to select a report
to customize.
More than one drill-through report exists for the cell or cell range that you select in the spreadsheet. Only one report exists, but you have the option of customizing it using the Drill-Through Wizard.
The Select Drill-Through Report dialog box displays the list of drill-through reports available for the cells that you select in the spreadsheet. Depending on how a report is defined in Integration Services Console, you may have access only to view, not customize, the report.
Note: Tasks that you should not perform as part of the tutorial are shown in light colored boxes.
182
This task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. The sample report used for this tutorial is the Measures Detail report. You will use the Drill-Through Wizard to customize this sample report. To execute a predefined drill-through report without customizing it, perform these tasks: 1. Select the report that you want to view from the Available Reports list box. 2. Click Execute. Integration Services retrieves the data from the relational source and displays the results in a new spreadsheet. The new sheet is added before the current sheet.
Figure 185
2 Select Essbase > Connect and connect to the appropriate sample database.
Note: A specific sample database for drill-through is not automatically provided with Integration Services. Contact the person at your organization who installs Integration Services to set up a database for you.
3 Select Essbase > Options and select the Style tab to define styles for this sheet. 4 In the Data Cells option group, select the Integration Server Drill-Through check box and click Format.
Analytic Services displays the Font dialog box, as shown in <Cross.ref>Figure 179 on page 179.
Note: The style for drill-through cells may already be set as blue, bold, and italic because you set the style in the previous exercise. If this is the case, then go to Step 7.
5 Select Bold Italic from the Font style list box. 6 Select Blue from the Color drop-down list, and click OK to return to the Essbase Options dialog box.
In the Essbase Options dialog box, Analytic Services displays an example of the selected style in the Sample box, as shown in Figure 186.
183
Figure 186
7 In the Essbase Options dialog box, select the Display tab and select the Use Styles check box, as shown in
the Cells group box in Figure 187.
Figure 187
8 Click OK to close the Essbase Options dialog box. 9 Select Essbase > Retrieve to display the new style in the spreadsheet.
In this example, the sample drill-through report is associated with every member intersection at the state level in the East region, so that all data cells associated with an Eastern state and children of Cola are now displayed in blue, bold, and italic font.
184
Figure 188
Figure 189
If Integration Services is not running, the drill-through process does not launch properly. If drill-through is not launching properly, contact the Analytic Services system administrator. If you are prompted with the Drill-Through Login dialog box to connect to Integration Server and the relational data source, enter the appropriate connection information. The person at your organization who administers Integration Services and develops drill-through reports should provide you with this information.
Select Essbase > Linked Objects to open the Linked Objects Browser dialog box, as shown in Figure 183. In the Essbase Options dialog box (Global tab), select the Enable Linked Object Browsing check box. This process enables you to double-click a linked object cell to open the Linked Objects Browser dialog box. This option works only with single-cell selection. If you select a range of cells, use the Essbase > Linked Objects menu command.
4 Select the Measures detail report in the Available Reports list, as shown in Figure 190.
185
Figure 190
5 Click Customize.
Note: The Customize button may or may not be selectable for any given report, depending on how the report was defined in Integration Services Console.
Integration Services displays the first screen of the Drill-Through Wizard, as shown in Figure 191.
Figure 191
6 Click Next to display the Select Columns and Display Order dialog box, as shown in Figure 192.
186
Figure 192
7 Follow the steps in the topic, Selecting and Ordering Columns on page 187, to select and order rows for
the customized report.
187
Figure 193
2 Click
to move the selected column from the Selected Columns list back to the Available Columns list.
or
3 Click Next to display the Select Data Sort Order dialog box, and follow the steps in the topic, Ordering
Data on page 188 to further customize the report.
Note: When you finish customizing the report, click Finish at any time to generate the report and view the results in a new sheet. The new sheet is placed before the current sheet.
Ordering Data
In the Select Data Sort Order dialog box, you can select an ascending or descending sort order for the data in a column. Sort order determines the order in which rows will be displayed in the drill-through report. For example, you can sort the contents of the Time.TRANSDATE column, which represents the transaction dates, in ascending order in the drill-through report.
188
2 Click
to move the Time.TRANSDATE column to the Column list, as shown in Figure 194, so that you can define a sort order for the column.
or
Figure 194
3 In the Column list, double-click the Time.TRANSDATE column to change the data sort order from Ascending
to Descending, as shown in Figure 195.
This action causes transaction date values to be displayed in reverse chronological order in the drill-through report.
Figure 195
189
Note that this task is optional. Optional tasks do not need to be performed as part of the tutorial. They are provided for information only. To change the data sort order for multiple columns at one time, perform these tasks: 1. Hold down the Ctrl key and select the desired columns from the Column list. 2. Click Order By. Integration Services displays the Order By dialog box.
Figure 196
3. Select Ascending or Descending and click OK to return to the Select Data Sort Order dialog box.
4 Click Next to display the Select Data Filters dialog box, and follow the steps in the topic, Filtering Data
on page 190 to customize the report further.
Filtering Data
You can create and apply filters to determine what Integration Services retrieves for the drillthrough report. You can also save, edit, and delete the filters that you create. For any given column, you may want to retrieve only data that meets certain conditions. For example, the MEASURES.CHILD column in the sample database contains all children of the Measures dimension. In the sample drill-through report, if you do not apply a filter to this list of measures, Integration Services retrieves all children from the relational source, because the sample drillthrough report applies to all children of Measures. In this section, you will apply a filter to the MEASURES.CHILD column so that all children of Measures, except Misc, are included in the report.
Note: When you apply a filter on a non-level 0 member using Integration Services, the filter may return more members than expected. To work around this problem, use the Drill-Through Wizard.
To define a filter:
1 Select the MEASURES.CHILD column from the Column list.
190
As shown in Figure 197, the columns in the Column list box are those that you selected in Selecting and Ordering Columns on page 187.
Figure 197
If there is a filter already attached to the column, it is displayed in the Condition column. The full string of the filter is displayed in the lower Condition text box.
Figure 198
4 Select the < > operator, which represents not equal to, from the Operator drop-down list.
191
Note: You can select multiple values at one time only if you have selected In or Not In as the filter operator. For more information on filter operators, see the Drill-Through online help.
button next to the Condition text box to open the Select Filter Values from the List dialog box, which lists all possible values for that column.
The Select Filter Values from the List dialog box is displayed.
Note: Integration Services retrieves these values directly from the relational data source. If the relational data source contains many values, Integration Services confirms if you want to view them all before it retrieves them from the data source.
6 In the Select Filter Values from the List dialog box, select Misc, as shown in Figure 199, and click OK.
Figure 199
7 In the Set Filter On Column dialog box, click Add to add the condition to the Filters list.
Note: For information on using multiple filter conditions, see the Drill-Through online help.
The Set Filter on Column dialog box should look like Figure 200.
192
Figure 200
The filter defined above causes all children of Measures, except Misc data, to show in the drillthrough report. The Add button becomes unselectable after you create the first filter, but becomes selectable when you create another filter. In this tutorial, you are creating only one filter. The And and Or options are used when combining multiple filters. The default value is Or, which means that Integration Services applies the filter if any of the conditions that you specify are met. If you select And, Integration Services applies the filter only if all the conditions are met.
Figure 201
You can also create a filter by typing the filter conditions directly into the Filters text box of the Set Filter on Column dialog box. For more information, see the Drill-Through online help.
193
To clear a filter for a selected column, select the filter and click Clear. To clear all filters for all columns, click Clear All. You can save the filter that you just created and then apply it to the MEASURES.CHILD column, so that all children of Measures, except Misc, are included in the report.
2 In the Name text box of the Filter Name dialog box, type the name for the filter that you are creating.
For this tutorial, type All Children of Measures except Misc, as shown in Figure 202.
Figure 202
4 Click OK.
The filter is added to the list of saved filters in the Filter drop-down list of the Select Data Filters dialog box. Optional: If you want to describe the filter, type a short description for the filter in the Description text box.
5 Click Save Filters. 6 Click Finish to apply the filter to the MEASURES.CHILD column, so that all children of Measures, except
Misc, are included in the report.
Note: You can also delete or rename filters. See the Spreadsheet Add-in online help for information.
Integration Services generates the customized drill-through report and displays the results in a new spreadsheet. The new spreadsheet is added to the workbook before the current spreadsheet.
194
Figure 203
In this sample, the customized drill-through report reflects the specifications that you set using the Drill-Through Wizard:
The Time.TRANSDATE column is sorted in descending order, displaying the transaction dates in reverse chronological order. All children of Measures, Additions, COGS, Marketing, Payroll, Sales, and Opening Inventory, except Misc, are displayed as you specified in the filtering part of the DrillThrough Wizard.
Figure 204
195
Analytic Services may return an error message when you attempt to disconnect after using drill-through. If an error message is returned, select Essbase > Retrieve from the sheet and then disconnect.
2 Select a sheet name from the list and click Disconnect. 3 Repeat Step 2 until you have disconnected from all active sheets. 4 Click Close to close the Essbase Disconnect dialog box.
Note: You can also disconnect from the server by closing the spreadsheet application. An abnormal shutdown of a Spreadsheet Add-in session, such as a power loss or system failure, does not disconnect your server connection.
196
Index
Symbols
#Missing strings, suppressing, 59 #NoAccess strings, suppressing, 59 * wildcard character, 90 ? wildcard character, 90
alternate dimensions. See dimensions, alternate alternate names. See aliases Analytic Integration Server drill-through. See drill-through Analytic Integration Server. See Integration Server Analytic Integration Services. See Integration Services Analytic Services architecture, 19 computing environment, vii connecting to. See connecting disconnecting from. See disconnecting intended audience, 18 migration information, xiii Options dialog box, 173 products of, 20 starting a session, 29 System Login dialog box, 40 upgrades, xiv Analytic Services Application Programming Interface (API), 21 ancestors, definition of, 25 AND operators, 88 API, 21 application designer, 19 application partitions. See linked partitions application programming interface, 21 applications/databases Sample Basic, 27, 39 to 40, 99 sample for drill-through, 176 Sample Interntl, 165 Sample Xchgrate, 165 applying queries, 84 ascending sort order in drill-through reports, 188 IN Query Designer, 108
A
access to Analytic Services data, 39, 98 to databases, 39, 98 to linked partitions, 154 to linked reporting objects, 149 to multiple applications, 40 to multiple databases, 153 to online help, 32 using drill-through reports, 177 using Essbase commands, 38 Acrobat Reader. See Adobe Acrobat Reader ad hoc reports, 18, 41, 117, 167 Add button, 191 Add-in Manager, 28 adding members. See members, adding adjusting columns. See columns, adjusting width administrators, 18 Adobe Acrobat Reader, viii advanced interpretation engine, 132 Advanced Interpretation mode, 132, 137 aliases definition of, 68 displaying process of, 69 with member names, 70 with Query Designer results, 87 in tables, 68
Index Symbols
197
asymmetric reports definition of, 110 pivoting, 111 retrieving data into, 110 Attach Linked Object dialog box, 144, 146, 148 attaching reporting objects to cells. See linking attaching to databases. See connecting attributes, drill down, 45 auditing updates, 158 auto logouts, 96 Auto Sort Rows option, 134
cell notes accessing linked, 150 linking to cells, 146 cell ranges keeping, 53 removing, 55 retrieving, 121 selecting nonadjacent, 54 with drill-through, 181 cells accessing linked partitions, 154 applying styles, 61, 66 attaching reports. See linking attaching URLs. See linking EssCell function in, 123 formatting, 61, 66, 145 in data cells, 66 of dimension members, 64 of Dynamic Calculation members, 127 of parent members, 62 formulas in, 114 to 115, 118, 123 linked reporting objects, 143, 147 linking files to, 143 linking notes to, 146 linking URLs to, 147 retrieving a range of, 121 retrieving single values, 123 selecting nonadjacent, 54 with nondatabase values, 113 Change Password dialog box, 41 changing passwords, 41 row and column orientation, 50 spreadsheet format, 61 styles, 61 children (defined), 24 Clear All button, 194 Clear button, 194 Clear command, 43 clearing styles, 68 click (defined), 33 client components, 19 software, 27 upgrading with server, xiv
B
blank columns, 113 rows, 113 blocks, locking data, 156 Boolean operators, 88, 91
C
Calculation command, 158 Calculation dialog box, 158 calculations database status, 159 databases, 126, 158 dynamic, 126 reducing calculation time, 126 scripts, 159 specifying latest time period, 128 substitution variables, 130 with Dynamic Time Series, 128 with EssCell, 125 canceling data retrievals, 43 Cascade command, 160 Cascade Information page, 160 Cascade Options dialog box, 160 cascading sheets creating table of contents, 163 destination, 161 format, 162 level of detail, 160 names, 161 output type, 161
198
Index B
client-server environment, 19 collapsing data views. See drill colors, setting, 61 columns adjusting width, 38, 115 blank, 113 displaying as rows, 50 displaying selected, 53 filtering by, 104 keeping selected, 53 nested, 44 pivoting, 50 removing selected, 55 retrieving into, 45 columns, drill-through choosing, 187 selecting display order, 187 selecting for retrieval from relational source, 187 sorting, 188 commands Calculation, 158 Cascade, 160 Clear, 43 Connect, 40, 98, 153 Currency Report, 164, 167 Disconnect, 95 FlashBack, 43 Keep Only, 53 Linked Objects, 143, 147 Lock, 156 Member Selection, 89 Navigate Without Data, 56, 58 Pivot, 50 Remove Only, 55 Retrieve, 42 Retrieve & Lock, 156 Send, 156 Undo, 43 Unlock, 156 Zoom In, 44 Zoom Out, 47 comparison operators, 88, 104 compatibility with Hyperion Smart View for Office, xv, 35 computing environment, vii
concurrent database access, 40, 153 updates to server, 156 conditional retrievals, 102 Connect button, 31 Connect command, 40, 98, 153 connecting to a database, 39, 98 to a relational data source, 170, 177, 185 to Analytic Services, 40, 98 to Integration Server, 177, 185 to multiple databases, 153 viewing current connections, 154 connecting. See also disconnecting Connection Information text box, 154, 159 consolidations (defined), 25 consulting services, xi conversions, currency, 164 creating queries, 76 creating reports. See reports, creating Currency Conversion product, 21 currency conversions modifying exchange rates, 168 reporting, 167 sample databases, 165 settings, 168 Currency Report command, 164, 167 Currency Report dialog box, 168 current time period. See Dynamic Time Series cursors (Essbase), 42 custom applications, 21 Customize button, 185 customizing drill-through reports, 183
D
data calculating, 158 changing orientation, 50 comparison operators, 104 displaying, 22, 42 dynamically calculating, 126 filtering, 102 filtering, in drill-through reports, 193 formatting, 61 locking, 156
Index D
199
missing, 59 modifying, 156 navigating, 25, 56 pivoting, 50 relational, and drill-through reporting, 169 removing subsets, 55 retaining subsets, 53 retrieving. See retrieving sorting, 102 unlocking, 156 updating, 156, 158 data sort order, and drill-through reporting, 188 data source, relational, 185 databases calculating. See calculations concurrent access, 40 connecting. See connecting consolidations, 25 defined, 22 dimensions, 24 disconnecting from, 95 linked. See linked partitions loading, 41, 99 locking, 156 members, 24 organization, 23 outlines, 25 queries. See queries, 75 restoring previous views, 43 rules, 23 sample, 39, 165, 176 selecting. See connecting switching, 153 viewing connections, 154 deleting filters, in drill-through reports, 194 selected members, 55 styles, 68 descendants (defined), 25 descending sort order in drill-through reports, 188 with Query Designer, 108 Destination Options page, 161
destinations cascaded sheets, 161 Query Designer queries, 82 detaching. See disconnecting, 95 dialog boxes, Help buttons, 32 dimensions alternate, 22 applying styles, 64 currency conversion and, 165 described, 22, 24 drilling down on, 44 to 45 drilling up on, 47 naming elements, 24 pivoting, 50 disabling data retrieval. See navigating without data Disconnect command, 95 dialog box, 95 disconnecting forced logouts, 96 from Analytic Services, 95 from Integration Server, 195 discontinuous rows and columns, 54 disk space, effect on Dynamic Calculation, 126 display options, 61 order of columns in drill-through reports, 187 Display page (Essbase Options dialog box), 35, 173 Display Unknown Member option, 115, 117 displaying data, 22, 42 distributed sheets. See cascading sheets documents feedback, xi ordering print documents, x documents, accessing Hyperion Download Center, ix Hyperion Solutions Web site, ix double-clicking defined, 33 enabling for drilling, 34 for linked object browsing, 149, 155, 182, 185 downloading Acrobat Reader, viii drag, defined, 33 drag-and-drop operations, 50
200
Index D
A drill
by double-clicking, 33 down on attributes, 45 to 46 down on consolidations, 25 down to sample of members, 112 to 113 Formula Fill, 118 retain formulas during, 118 to less detail, 47 drill-through accessing, 170, 177 cells, defining styles for, 178 described, 169 to 170 installing, 172 multiple cell selection, 181 multiple reports, 170 sample database, 176 drill-through report, 176 file, 178 saving filters, 194 styles for cells, 171 tutorial guidelines, 173 tutorial requirements, 172 Drill-Through Wizard dialog box, 186 introductory screen, 186 duplicate member names enabling display of qualified member name as comment, 74 enabling display of qualified member name on sheet, 74 example scenario, 74 qualifed member name, defined, 73 working with, 73 duplicating sheets. See cascading sheets, 160 Dynamic Calculation members, applying styles to, 127 Dynamic Time Series defined, 128 specifying latest time period, 129 to 130
editing cell notes, 150 linked files, 150 URLs, 152 education services, xi Enable Hybrid Analysis option in Zoom page (Essbase Options dialog box), 36 enabling compatibility with Hyperion Smart View for Office, 35 Essbase toolbar, 30 FlashBack setting, 44 mouse actions, 33, 149, 155 Navigate Without Data, 56 environment (computing), vii Essbase Cascade Options dialog box, 160 Disconnect dialog box, 95 Member Selection dialog box, 89, 93 Member Selection dialog box, from Query Designer, 78 menu, 29 Options dialog box, 35, 100 System Login dialog box, 98 toolbar described, 30 installing, 30 Essbase Analytic Services. See Analytic Services Essbase Integration Server drill-through. See drill-through Essbase Integration Services. See Integration Services Essbase Spreadsheet Add-in. See Spreadsheet Add-in EssCell function, 123 error messages, 125 syntax, 124 Excel clearing formats, 43, 68 mouse actions, 33 sample tutorial files, 97 exchange rates, 165 Execute button, 185 executing drill-through reports, 182 to 183 expanding data views. See drill down expanding formulas when drilling, 119 external files, 143
E
Edit Cell Note dialog box, 151 Edit menu, 43 Edit URL dialog box, 152
Index E
201
F
files accessing linked, 149 destinations, cascaded sheets, 161 linking to data cells, 143 sample for tutorial, ix, 97 filtering data, 102 filters in drill-through reports, 193 operators, 192 saving in drill-through reports, 194 Find Member dialog box, 90 finding members, 88, 90 FlashBack button, 32 FlashBack command, 43 font formats, 63 style list, 63 Font dialog box, 63 forced logouts, 96 formatted sheets pivoting in, 117 retrieving data into, 113 formatting data cells linked objects, 145, 155 read/write, 66 read-only, 66 dimension members, 64 displaying aliases, 68 displaying aliases and names, 70 Dynamic Calculation members, 127 enabling styles, 64 linked object cells, 145, 155 options for cascaded sheets, 162 parent members, 62 repeating member labels, 71 spreadsheets, 61 text and cell styles, 67 Formula Fill option, 118, 120 Formula Preservation mode Formula Fill, 118 pivoting in, 117 restrictions with, 117 to 118
Retain on Keep and Remove Only, 118 Retain on Retrieval, 115, 118 formulas EssCell, 123 expanding when drilling, 119 in cells, 114, 118 preservation effects on other operations, 118 enabling, 115, 118 restrictions with, 117 free-form reporting entering generation and level names in, 137 in Advanced Interpretation mode, 132 in Free-Form mode, 134 retrieving data, 131 Free-Form retrieval mode, 134 Free-Form retrieval mode guidelines, 134 functions. See macro functions
G
generations defined, 25 entering names in spreadsheet, 137 Global page (Essbase Options dialog box), 34
H
Help buttons, 32 Help, accessing, 32 Hybrid Analysis, enabling in the Zoom page (Essbase Options dialog box), 36 Hyperion Consulting Services, xi Hyperion Download Center accessing documents, ix Hyperion Education Services, xi Hyperion product information, xi Hyperion Solutions Web Site accessing documents, ix Hyperion support, xi Hyperion Technical Support, xi Hyperion Visual Explorer creating a visual worksheet, 142 importing visual worksheet data into Excel, 142 logging into Analytic Server, 141 user interface described, 140 Visualize & Explore command, 140
202
Index F
I
in-cell editing, 33 installation, drill-through, 172 installation, toolbar, 30 Integration Server, 21, 169 Integration Server drill-through. See drill-through Internet, linking cells to URLs, 147 Interntl sample database, 165
cell notes, 146 creating, 143 external files, 143 URLs, 147 linking cell notes, 146 external files, 143 partitions, 154 URLs to data cells, 147 list, cascaded sheets, 163 local area network. See networks Lock command, 156 locking data blocks, with multiple users, 156 logging off of Analytic Services. See disconnecting on to a relational data source, 185 on to Analytic Services. See connecting, 39 on to Integration Server, 185 logging data updates from spreadsheet, 158 logical operators, 91 logouts, forced or auto, 96
K
Keep Only button, 31 Keep Only command described, 53 in Formula Preservation mode, 118
L
labels applying styles, 64 displaying with aliases, 70 entering in spreadsheet, 131, 134 member names. See member names repeating, 71 LAN. See networks Latest Time Period option, 129 latest time period, specifying, 128 levels cascading by, 160 defined, 25 drilling down, 48 drilling in, 48 entering names, 137 linked objects partitions. See linked partitions reporting objects. See linked reporting objects Linked Objects Browser dialog box, 153, 155, 182, 185 LROs, 143 Linked Objects command, 144, 146, 148 linked partitions access privileges, 156 accessing from spreadsheet, 154 cells, applying styles, 155 Linked Reporting Objects accessing from spreadsheet, 149 applying styles, 145
M
macro functions EssCell, 123 Spreadsheet Toolkit, viii, 20, 32 main menu (Essbase), 29 manual calculation mode, 125 Member Information dialog box, 89 member names aliases for, 68 alternate. See aliases, 68 applying styles, 62 displaying with aliases, 70 entering in spreadsheet, 131, 134 formatted sheets, 113 indenting, 25 repeating, 71 with EssCell function, 124 Member Preview dialog box, 92 to 93 Member Retention option, 48 Member Selection button, 32 Member Selection command, 89 Member Selection dialog box, 89 Member Selection Preview dialog box, 81
Index I
203
Member Selection, with Query Designer, 78 members adding, 78 aliases for, 68 ancestors, 25 applying styles, 62, 64 children, 24 collapsing, 47 defined, 24 deleting, 55 descendants, 25 deselecting, 94 drilling down on, 44 to 45 drilling up on, 47 Dynamic Calculation, 126 Dynamic Time Series, 128 finding, 88, 90 generations, 25 levels, 25 names. See member names parents, 24 retaining, 53 selecting, 78, 88 siblings, 24 menu, Essbase, 29 messages (Essbase) database calculation status, 159 display options, 117 EssCell, 125 unknown member, 115 metadata sampling, 112 to 113 migrating to release 6, xiv missing values, suppressing, 59 disabled, 118 in cascaded sheets, 163 option unavailable, 118 Mode page (Essbase Options dialog box), 36, 101, 118 money. See currency conversions mouse actions, enabling, 33 moving rows and columns. See pivot through worksheets, 56 multi-cell selection, with drill-through, 181 multidimensional databases. See databases
multiple cell selection, with drill-through, 181 multiple filter conditions, in drill-through reports, 192
N
names alternate. See aliases applying styles, 62 displaying with aliases, 70 entering generation, 137 entering level, 137 repeating, 71 Navigate With or Without Data button, 31 Navigate Without Data command, 56, 58 nested columns or rows, 44 networks, 20 Next Level option, 48, 160 nonadjacent cells, 54 notes, linking to data cells, 146 null values, 124 numeric values, preserving, 114
O
Objects product, 21 ODBC clients, 21 OLAP defined, 18 server. See server online analytical processing, 18 online help displaying for spreadsheet, 32 opening Spreadsheet Add-in, 29 operators, comparison, 88, 104 options Cascade, 160 Display, 35, 100, 173 Global, 34, 37, 101, 175 Mode, 36, 101, 118, 174 settings for advanced tutorial, 99 settings for basic tutorial, 35 settings for drill-through tutorial, 173 Style, 62 Zoom, 36, 48, 100, 174 Options button, 32
204
Index N
Options dialog box, 35, 173 OR operators, 88 Order By dialog box, 190 ordering columns in drill-through reports, 187 rows in drill-through reports, 188 outlines consolidations, 25 described, 23 dimensions, 24 Dynamic Calculation members, 126 Dynamic Time Series members, 128 members, 24 output, cascaded sheets, 160 overlapping styles, 67
Q
queries applying, 84 applying styles, 84 creating, 76 defining, 75 deleting, 85 retrieving, 75 saving, 82 Query Designer applying option settings, 87 connecting to multiple databases, 86 creating queries, 77 data filtering panel, 103 data sorting panel, 107 filtering data, 102 hint panel, 75 layout panel, 77 messages, 110 messages and confirmations, 85 navigation panel, 75 properties panel, 75 save as query dialog box, 82 sorting data, 107 Query Designer icon, 32
P
parent members applying styles to, 62 defined, 24 Partitioning product. See linked partitions partitions. See linked partitions passwords changing, 41 entering, 98 pattern matching, 91 pivot asymmetric reports and, 111 by dragging, 51 described, 33, 50 effect on text, 114 formatted sheets and, 117 formula preservation and, 117 rows or columns, 50, 112 unavailable, 114 without retrieving data, 57 Pivot command, 50 power loss, effect of abnormal shutdown, 96 preferences. See options, 34 preserving formulas, 115, 121 primary mouse button, 33 printer destination, cascaded sheets, 161 programming interface, 21
R
read/write cells, 66 read-only cells, 66 registering Spreadsheet Add-in, 28 relational data source, 185 relational databases, accessing using drill-through, 170 remote databases. See linked partitions, 154 Remove Only button, 31 Remove Only command described, 55 in Formula Preservation mode, 118 Remove Unselected Groups option, 118 removing. See deleting, 55 Repeat Member Labels option, 71 report script commands, 134, 136 reports ad hoc, 41, 117 ad hoc currency, 167 asymmetric, 110
Index P
205
creating multiple, 160 formatted, 113 free-form, 131 methods of generating, vii saving, 95 reports, creating ad hoc, 167 Cascade, 160 Member Selection, 88 methods, vii Query Designer, 75 reports, drill-through accessing, 177 customizing, 171, 183 disconnecting from, 195 executing, 182 selecting to view or customize, 182 restoring database views, 43 restrictions, with Formula Preservation, 118 Retain on Keep and Remove Only option, 118 Retain on Retrieval option disabled, 118 enabled, 115, 118 Retain on Zooms option, 118, 120 retaining data subsets, 53 formulas, 114 when drilling, 118 when retaining data, 118 when retrieving, 115, 118 selected members, 53 Retrieve & Lock command, 156 Retrieve button, 31 Retrieve command, 42 retrieving Advanced Interpretation mode and, 132 canceling, 43 conditional, 102 currency conversion, 164 cursors, 42 data, 39 Dynamic Calculation members, 126 formula preservation and, 118 Free-Form mode and, 134 functions, 123
increasing speed, 68, 111, 121, 126 into asymmetric reports, 110 into columns, 45 into formatted sheets, 113 rules for, 114 into rows, 45 less detail, 47 modes, 131 more detail, 44 performance impact, 68, 111, 126 range of cells, 121 retaining formulas and, 115, 118 selected cells, 121 starting process and, 41 suppressing data and, 56 reverting to previous database view, 43 rows blank, 113 deleting during pivot, 112 displaying as columns, 50 displaying selected, 53 filtering by, 104 keeping discontinuous, 54 nested, 44 pivoting, 50 removing selected, 55 retrieving into, 45 sorting within, 108 suppressing values in, 59, 163
S
sample databases connecting to, 40, 165 described, ix, 39, 165 in drill-through, 176 files for tutorial, location, 97 Sample Basic connecting to, 40 described, 39 Sample Data (Zoom In) command, 112 to 113 Sample directory, 97 sampling, 112 to 113 Save As command, 95
206
Index S
Save command, 95 saving drill-through filters, 194 queries, 82 worksheets, 95 saving queries, 82 secondary mouse button, 33 select (defined), 33 Select Calc Script option, 159 Select Columns and Display Order dialog box, 187 Select Data Filters dialog box, 191 Select Data Sort Order dialog box, 188 Select Drill-Through Report dialog box, 182, 185 Select Filter Values from the List dialog box, 192 selecting cells to keep, 53 cells to remove, 55 latest time period, 128 members, 88 multiple cells, with drill-through, 181 nonadjacent cells, 54 range of cells for retrieval, 121 Send command, 156 sending data to server, 156 log file, 158 server, 19 Analytic Integration Server, 169 Analytic Integration Services, 21 Analytic Server, described, 19 changing password, 41 client-server environment, 19 connecting to, 40, 98 described, 19 disconnecting from, 95 logging updates to, 156 migrating to release 5, with client, xiv name, 40, 98 on network, 20 sending data to, 156 Set Filter on Column dialog box, 191 shared members, applying styles to, 63 sheet destination, Cascade option, 161 sheets. See worksheets shortcuts, mouse actions, 33 shortcuts, toolbar buttons, 30
shutdown, abnormal, 96 siblings (defined), 24 sort order in drill-through, 188 in Query Designer, 107 sorting criteria, 102 Spreadsheet Add-in accessing drill-through from, 177 compatibility with Hyperion Smart View for Office, xv, 35 installing toolbar, 30 logging data updates, 158 registering, 28 retrieval cursors, 42 starting, 29 users, described, 19 Spreadsheet Toolkit product, 20 spreadsheets applying styles, 61 cascading, 160 creating multiple, 160 data update log file, 158 described, 22 displaying aliases, 69 to 70 displaying member names, 70 distributing, 160 drilling options, 48 global options, 34, 44, 117 mode options, 118, 131 preserving formulas, 118 repeating member labels, 71 retrieving data, 39 saving, 95 setting options, 35 style options, 61 suppressing missing and zero values, 59 zoom options, 48 SQL Interface, 21 starting Analytic Services, 29 data retrieval, 42 drill-through, 177 Spreadsheet Add-in, 29 status of database connections, 154 Style page (Essbase Options dialog box), 62
Index S
207
styles applying to data cells, 66 to dimension members, 64 to dimensions, 64 to drill-through cells, 178 to linked partition cells, 155 to linked reporting object cells, 145 to members, 62 to parent members, 62 to Query Designer results, 87 to shared members, 63 clearing, 68 defining, 62 hierarchy of, 67 overlapping, 67 removing, 68 selecting members, 63 stored in ESSBASE.INI, 66 turning off, 68 turning on, 64 Subset dialog box, 91 to 92 subsets defining members, 91 removing, 55 retaining, 53 substitution variables, 130 to 131 suppressing data retrieval, 56 missing and zero values, 59 option disabled, 118 underscore characters, 59 symmetric reports, 110 system administrator, 18 system failure, 96
hierarchy of styles, 67 pivoting. See pivot preserving formatted, 114 time periods, 128 title members, with drill-down, 45 to-date calculations, specifying, 128 toolbar (Essbase), 32 buttons on, 31 installing, 30 tracking data updates, 158 transaction-level data, accessing with drill-through, 170 transparent partitions. See linked partitions transport protocol, 20 tutorial basic tasks, 27 guidelines, 38 preparing for, 34
U
underscore characters, suppressing, 61 Undo command. See FlashBack command undoing actions, 43 Unlock command, 156 unlocking data blocks, 156 Update Mode, 156 updating data, 156 log file, 158 upgrading, xiv up-to-date calculations, 128 URLs accessing linked, 152 editing, 152 length limits, 148 linking to data cells, 147 Use Aliases option, 69 Use Both Member Names and Aliases option, 70 Use Sheet Options with Query Designer option, 87 Use Styles option, 64 username, entering, 98 users, 19
T
table of contents, with Cascade, 163 TCP/IP protocol, 20 technical support, xi terminating database connections. See disconnecting termination, abnormal, 96 text entering free-form, 131 formatting, 63
V
V2.x mode, 134 VBA functions, viii
208
Index T
viewing active connections, 154 aliases, 68 aliases and names, 70 data in spreadsheet, 41 Dynamic Calculation members, 127 Essbase menu, 29 Essbase toolbar, 30 fewer members. See drill linked partitions, 154 linked reporting objects, 149 more members. See drill multidimensional data, 22 online help, 32 repeated member labels, 71 spreadsheet without data, 56 styles, 64 toolbar, 30 views, restoring, 43 Visual Basic for Applications. See VBA functions visual cues. See styles Visualize & Explore command, 140
Windows Registry, changes to, 29 Within Selected Group option, 49, 110 worksheets formatting, 61 navigating without data in, 56 World Wide Web, linking to data cells, 147
X
Xchgrate sample database, 165
Z
zero values suppressing, 59, 61 suppressing options disabled, 118 Zoom commands, customizing, 48 Zoom In button, 31 Zoom In command drilling down options, 44 selecting levels, 48 Zoom Out button, 31 Zoom Out command, drilling up options, 47 Zoom page (Essbase Options dialog box), 36, 48 Enable Hybrid Analysis option, 36
W
Web resources, linking to data cells, 147 wildcard characters, 90
Index W
209
210
Index Z