TM1 for Developers
Total Page:16
File Type:pdf, Size:1020Kb
IBM Planning Analytics Version 11 Release 0 TM1 for Developers IBM Note Before you use this information and the product it supports, read the information in Notices. Product Information This document applies to IBM Planning Analytics Version 2.0 and might also apply to subsequent releases. Licensed Materials - Property of IBM © Copyright International Business Machines Corporation 2007, 2017. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Introduction......................................................................................................................... ix Chapter 1. Introduction to TM1 Development......................................................................... 1 Understanding Multi-dimensionality.................................................................................................................................1 Durables Cube.............................................................................................................................................................. 1 Your Role as Developer...................................................................................................................................................... 2 TM1 object naming conventions........................................................................................................................................2 Chapter 2. Creating Cubes and Dimensions.............................................................................7 Designing Cubes.................................................................................................................................................................7 Selecting the Number of Dimensions.......................................................................................................................... 7 Consolidating Detail Using Dimension Hierarchies..................................................................................................... 9 Types of Elements...................................................................................................................................................... 11 Element Attributes..................................................................................................................................................... 12 Designing Cubes - Summary...................................................................................................................................... 14 Creating Dimensions........................................................................................................................................................14 Creating Dimensions Using the Dimension Editor Window.......................................................................................15 Modifying a Dimension............................................................................................................................................... 16 Managing the Display of Elements in the Dimension Editor..................................................................................... 20 Creating Dimensions Using Dimension Worksheets................................................................................................. 21 Using Named Hierarchy Levels with TM1 Dimensions..............................................................................................24 Using Multiple Hierarchies......................................................................................................................................... 26 Creating Cubes.................................................................................................................................................................27 Ordering Dimensions in a Cube..................................................................................................................................27 Creating a Cube.......................................................................................................................................................... 27 Optimizing the Order of Dimensions in a Cube..........................................................................................................28 Editing Cube Properties..............................................................................................................................................29 Creating Pick Lists............................................................................................................................................................30 Pick List Usage Notes................................................................................................................................................. 30 Pick List Types............................................................................................................................................................ 30 Creating Pick Lists with Element Attributes.............................................................................................................. 31 Creating Pick Lists with Control Cubes...................................................................................................................... 31 Null Values in Pick Lists..............................................................................................................................................33 Pick List Order of Precedence.................................................................................................................................... 33 Replicating Cubes between Servers................................................................................................................................33 Cube Relationships.....................................................................................................................................................33 Server Relationships ..................................................................................................................................................34 Chapter 3. Translating your model........................................................................................35 Translating cube names...................................................................................................................................................36 Translating dimension names..........................................................................................................................................36 Translating member names.............................................................................................................................................37 Chapter 4. Advanced Calculations for Business Data.............................................................39 Overview of Cube Rules...................................................................................................................................................39 Guidelines for Writing TM1 Rules Statements................................................................................................................ 39 General Considerations..............................................................................................................................................40 Syntax for Describing the Area...................................................................................................................................40 Syntax for Formulas................................................................................................................................................... 41 Using Cube References.............................................................................................................................................. 43 Arranging Rules Statements...................................................................................................................................... 44 iii Specifying Different Rules at the N: and C: Levels.................................................................................................... 44 Bypassing Rules......................................................................................................................................................... 45 Qualifying Element Names.........................................................................................................................................45 Rules Editor and Rules Worksheets................................................................................................................................ 45 Creating Rules Worksheets........................................................................................................................................ 46 Saving Rules Worksheets........................................................................................................................................... 46 Rules and Dimension Consolidations..............................................................................................................................46 Order of Calculation................................................................................................................................................... 47 Overriding C: Level Elements with Rules................................................................................................................... 47 Stacking Rules...........................................................................................................................................................