Вы находитесь на странице: 1из 66

Cognos® 8 Planning

ANALYST

TUTORIAL
Product Information
This document applies to Cognos 8® Planning Version 8.3 and may also apply to subsequent releases. To check for newer versions of this
document, visit the Cognos Global Customer Services Web site (http://support.cognos.com).

Copyright
Copyright © 2007 Cognos Incorporated.
Portions of Cognos® software products are protected by one or more of the following U.S. Patents: 6,609,123 B1; 6,611,838 B1; 6,662,188
B1; 6,728,697 B2; 6,741,982 B2; 6,763,520 B1; 6,768,995 B2; 6,782,378 B2; 6,847,973 B2; 6,907,428 B2; 6,853,375 B2; 6,986,135 B2;
6,995,768 B2; 7,062,479 B2; 7,072,822 B2; 7,111,007 B2; 7,130,822 B1; 7,155,398 B2; 7,171,425 B2; 7,185,016 B1;7,213,199 B2.
Cognos and the Cognos logo are trademarks of Cognos Incorporated in the United States and/or other countries. All other names are trademarks
or registered trademarks of their respective companies.
While every attempt has been made to ensure that the information in this document is accurate and complete, some typographical errors or
technical inaccuracies may exist. Cognos does not accept responsibility for any kind of loss resulting from the use of information contained
in this document.
This document shows the publication date. The information contained in this document is subject to change without notice. Any improvements
or changes to either the product or the document will be documented in subsequent editions.
U.S. Government Restricted Rights. The software and accompanying materials are provided with Restricted Rights. Use, duplication, or
disclosure by the Government is subject to the restrictions in subparagraph (C)(1)(ii) of the Rights in Technical Data and Computer Software
clause at DFARS 252.227-7013, or subparagraphs (C)(1) and (2) of the Commercial Computer Software - Restricted Rights at 48CFR52.227-19,
as applicable. The Contractor is Cognos Corporation, 15 Wayside Road, Burlington, MA 01803.
This software/documentation contains proprietary information of Cognos Incorporated. All rights are reserved. Reverse engineering of this
software is prohibited. No part of this software/documentation may be copied, photocopied, reproduced, stored in a retrieval system, transmitted
in any form or by any means, or translated into another language without the prior written consent of Cognos Incorporated.
Table of Contents

Introduction 5

Chapter 1: Getting Started 9


Conventions Used in this Tutorial 9
Begin the Tutorial 10

Chapter 2: Creating the 1 Overheads D-List 11


What is a D-List? 11
Create the Overheads D-List 11
Define a Subtotal 12
Name, Save, and Close the D-List 14

Chapter 3: Creating the 4 Months - Fiscal D-List 15


Create the 4 Months - Fiscal D-List 15
Define the Subtotal 16
Define the D-List as a Timescale 16
Define the Timescale: Optional 17
Color Coding and Saving the D-List 17

Chapter 4: Creating the Americas Overheads D-Cube 19


What Is a D-Cube? 19
Create the Americas Overheads D-Cube 19
The D-Cube Window 20
Cell Manipulation - Optional 20
Preparing the Americas Overheads D-Cube Sample Data 21
Prepare the Draft Salaries Budget 22
Prepare the Travel Budget 22
Prepare the Telephone Budget 24
Prepare the Draft Electricity Budget 24
Copy Data 24
Arithmetic D-Cube Commands 26
Prepare the Rent and Rates Budget 26
Adjust the Overheads Budget 27
Hold Salaries 27
Break Back the Total 27
Hold the Grand Total and Reset Rent and Rates 28
Decrease Rent and Rates 28
Save and Close the Americas Overheads D-Cube 28

Chapter 5: Creating the 2 Divisions D-List 31


Create a new D-List 31
Define the Subtotal 31
Color Code the D-List (optional) 32
Name, Save, and Close the D-List 32

Tutorial 3
Table of Contents

Chapter 6: Creating the 1 Profit and Loss D-List 33


Create the 1 Profit and Loss D-List 33
Define the Sales Formula 33
Define the Margin Formula 35
Define the Profit Formula 36
Define the Profit % Formula 36
Name, Save, and Close the D-List 37

Chapter 7: Creating the Profit and Loss D-Cube 39


Create the Profit and Loss D-Cube 39
The Three-Dimensional D-Cube Window 39

Chapter 8: Creating the ProfitAndLoss<AmericasOverheads D-Link 41


What Is a D-Link? 41
Create the ProfitAndLoss<AmericasOverheads D-Link 41
Pair D-Lists Within a D-Link 41
Execute a D-Link 44
Drill Down to Another D-Cube 44
View, Edit and Save Limited Selections 44

Chapter 9: Creating the Profit and Loss Data File Map 47


What is a File Map? 47
Create the Profit and Loss Data File Map 47
Define the Column Types 48
Name, Save, and Close the Map 49

Chapter 10: Creating the ProfitAndLoss<ProfitAndLossData D-Link 51


Creating the ProfitAndLoss<ProfitAndLossData D-Link 51
Pair the Data dimension with the 4 Months - Fiscal D-List 52
Pair the P&L Line dimension with the 1 Profit and Loss D-List 52
Pair the Division Dimension with the 2 Divisions D-List 53
Execute the D-Link 54
Drill Down to a Mapped ASCII File 54
Name, Save, and Close the D-Link 55

Chapter 11: Revisiting the Profit and Loss D-Cube 57


Page Through a Three-Dimensional D-Cube 57
Slice a Three-Dimensional D-Cube 57
Weighted Averages in the 1 Profit and Loss D-List 58
Change Formats in the P&L D-List 60
Add a Cumulative Profit Item 62
Adjust the Time Totaling for Cumulative Profit 63

Index 65

4 Analyst
Introduction

This document is intended for use with Cognos 8 Planning - Analyst.


This Tutorial provides an introduction to Analyst and its key features and concepts. You should
be able to work through the Tutorial in one working day.
Everything you need to do to complete the Tutorial is laid out in numbered steps. Generally, concepts
are illustrated by example. You also will encounter longer introductions where it is important that
you are familiar with certain concepts before you continue.
Cognos 8 Planning provides the ability to plan, budget, and forecast in a collaborative, secure
manner. The major components are Analyst and Contributor.

Cognos 8 Planning - Analyst


Analyst is a flexible tool used by financial specialists to define their business models. These models
include the drivers and content required for planning, budgeting, and forecasting. The models can
then be distributed to managers using the Web-based architecture of Cognos 8 Planning -
Contributor.

Cognos 8 Planning - Contributor


Contributor streamlines data collection and workflow management. It eliminates the problems of
errors, version control, and timeliness that are characteristic of a planning system solely based on
spreadsheets. Users have the option to submit information simultaneously through a simple Web
or Microsoft Excel® interface. Using an intranet or secure Internet connection, users review only
what they need to review and enter data where they are authorized.
For more information about using this product, visit the Cognos Global Customer Services Web
site (http://support.cognos.com).

Best Practices for Cognos 8 Planning


The Cognos Innovation Center™ for Performance Management provides a forum and Performance
Blueprints which you can use to discover new ideas and solutions for finance and performance
management issues. Blueprints are pre-defined data, process, and policy models that incorporate
best practice knowledge from Cognos customers and the Cognos Innovation Center. These Blueprints
are free of charge to existing customers or Platinum and Gold partners. For more information about
the Cognos Innovation Center or the Performance Blueprints, visit http://www.cognos.com/
innovationcenter.

Audience
This guide is for new Analyst users, familiarity with financial data is helpful, but not required to
complete the tutorial.

Tutorial 5
Introduction

Related Documentation
Our documentation includes user guides, getting started guides, new features guides, readmes, and
other materials to meet the needs of our varied audience. The following documents contain related
information and may be referred to in this document.

Note: For online users of this document, a Web page such as The page cannot be found may appear
when clicking individual links in the following table. Documents are made available for your
particular installation and translation configuration. If a link is unavailable, you can access the
document on the Cognos Global Customer Services Web site (http://support.cognos.com). Logon
credentials are available either from your administrator or by request from support.america@cognos.
com.

Document Description

Analyst User Guide Using Cognos 8 Planning - Analyst

Manager User Guide Using Cognos 8 Planning - Manager

Analyst for Microsoft Getting to know Cognos 8 Planning - Analyst for Microsoft Excel®
Excel® Tutorial

Finding Information
To find the most current product documentation, including all localized documentation, access the
Cognos Global Customer Services Web site (http://support.cognos.com). Click the Documentation
link to access documentation guides. Click the Knowledge Base link to access all documentation,
technical papers, and multimedia materials.

Product documentation is available in online help from the Help menu or button in Cognos products.
You can also download documentation in PDF format from the Cognos Global Customer Services
Web site.
You can also read PDF versions of the product readme files and installation guides directly from
Cognos product CDs.

Getting Help
For more information about using this product or for technical assistance, visit the Cognos Global
Customer Services Web site (http://support.cognos.com). This site provides product information,
services, user forums, and a knowledge base of documentation and multimedia materials. To create
a case, contact a support person, or to provide feedback, click the Contact Us link. For information
about education and training, click the Training link.

Printing Copyright Material


You can print selected pages, a section, or the whole book. Cognos grants you a non-exclusive,
non-transferable license to use, copy, and reproduce the copyright materials, in printed or electronic

6 Analyst
Introduction

format, solely for the purpose of operating, maintaining, and providing internal training on Cognos
software.

Tutorial 7
Introduction

8 Analyst
Chapter 1: Getting Started

In this tutorial you build a simple Analyst model from start to finish. The model is designed to build
a company budget Profit and Loss. The hypothetical company used in this tutorial has five divisions
(Americas, Northern Europe, Central Europe, Southern Europe, and Asia Pacific). The Northern
Europe division’s overheads budget is entered manually. Sales budget data for all divisions is
imported from an ASCII file.
An Analyst model is a collection of interlinked D-Cubes, which hold all of the model data. D-Cubes
are built from D-Lists. These define the dimensions of a D-Cube. Data is transferred between
D-Cubes and imported into D-Cubes by D-Links.
D-Lists, D-Cubes, and D-Links are all Analyst objects. Starting with chapter two of this tutorial,
you will build Analyst objects. Below is a list of those objects with the chapter number. On the next
page is a model overview with numbered objects that correspond to the chapters of the tutorial.

An Overview of the Completed Tutorial Model


4 Months - Fiscal
1 Overheads

Americas
Overheads
D-Cube
ProfitandLoss Data
File Map
Tutorial.csv (ASCII file)

ProfitandLoss<ProfitandLossData
ProfitandLoss<AmericasOverheads

1 Divisions
4
1 Profit and Loss

M
on
th
s
-F
isc
al
Profit and Loss
D-Cube

Conventions Used in this Tutorial


Everything you need to do to complete the tutorial is laid out in numbered steps. Generally, concepts
are illustrated by example. You also will encounter longer introductions where it is important that
you are familiar with certain concepts before you continue.

Tutorial 9
Chapter 1: Getting Started

Begin the Tutorial


Before you can work through this tutorial, you must have Analyst installed on your computer. For
installation instructions, see the Cognos 8 PlanningInstallation Guide.
When going through the tutorial, you will save your work to a Test library. If this Test library is
not installed on your computer, you must create it before you begin the tutorial.

Steps
1. From the Start menu, click Programs, Cognos 8 Planning, Cognos 8 Planning - Analyst.

2. Enter your user id and (optional) password. Click OK.

3. If available, select the Test library to use in this session. Click OK.
If the Test library does not exist, you must select a default library in order to log on. In the
following steps, you will create the Test library where you will save your work.

4. From the File menu, click Administration, Maintain Libraries and Users.

5. Ensure the Libraries tab is selected, then click Add.

6. Type Test for a name.

7. Type Tutorial Test Library. for a description

8. Click Browse. Navigate to the Analyst install location, for example: C:\Program Files\Cognos\
c8\samples\<language>\Planning.

9. Click OK, and then close the Maintain Libraries and Users dialog.
You are ready to begin the tutorial

10 Analyst
Chapter 2: Creating the 1 Overheads D-List

In this chapter, you will create the first D-List for this tutorial called 1 Overheads D-List. This
D-List contains overhead types and a subtotal.

What is a D-List?
A D-List is a list of related items that can be put into formulas that proceed down the rows or across
the columns of a D-Cube. D-Lists commonly encountered in a Cognos 8 Planning - Analyst model
include lists of departments, products, customers, months, Profit & Loss line items, balance sheet
line items, and so on.
D-Cubes are built from D-Lists. The D-Lists define the dimensions of the D-Cube, forming the row,
column, and page headers.
The D-Lists that you will create in this tutorial will include a number before the name. The number
represents one of five categories and reflects the order in which the D-Lists should be processed
when creating a D-Cube. When you create a D-Cube, it is best to choose the D-Lists in a set order
to overcome any priority conflicts on formulas at a later date. In general, select D-Lists with the
most calculations first, particularly when the calculations use IF...THEN...ELSE logical operators.
Select the aggregation D-Lists next (divisions, customers, products) then the timescale D-Lists.
Finish with the versions D-List.
Each item in a D-List is referred to by a unique item name. Some D-List items may be calculated
from other D-List items. Calculated items are called formula items; other items are called detail
items.
You can use letters, numbers, punctuation marks, and spaces in D-List item names. However, you
should avoid using the following:
● The semicolon (;) because it is used in special calculation formulas called built-in functions
(BiFs).

● The at sign (@) and braces ({}) because these are used in formulas, built-in functions, and macros.

● The brackets ([ ]) because this naming convention is used to mark D-List formatted items, which
appear as virtual dimensions in the D-Link editor.

Create the Overheads D-List


The Overheads D-List is a list of overhead types (Salaries, Travel, Telephone, Electricity, Rent and
Rates) together with a subtotal (Total Overheads).

Steps
1. From the File menu, click New, D-List.

Tutorial 11
Chapter 2: Creating the 1 Overheads D-List

2. Type the following six item names into the Enter item names section, pressing Enter after typing
each.

3. Click OK.
The D-List editor appears.

Define a Subtotal
Define the total overheads subtotal as a sum calculation of all overheads.

Steps
1. Select the Total Overheads - Calculation cell.

2. Click Change item attributes.


The D-List editor expands to display the Calculation field.

12 Analyst
Chapter 2: Creating the 1 Overheads D-List

3. Click Paste.
The Select items for calculation dialog box appears with the item name Total Overheads in the
title bar.

4. Click OK. If no selection is made when you click OK, it means all items are selected.
You return to the D-List editor with the requested items pasted into the Calculation field. D-List
items containing more than one word, such as Rent and Rates, are enclosed in braces so they
are treated as a single D-List item. Braces also enclose item names containing arithmetical
operators (+ - / *) and numerals.

5. Click Apply. The word Subtotal appears in the selected cell to indicate that Total Overheads
is defined as a subtotal formula item.

Tutorial 13
Chapter 2: Creating the 1 Overheads D-List

Name, Save, and Close the D-List


Finalize and close the 1 Overheads D-List.

Steps
1. Click Save from the File menu.

2. In the Libraries field, click Test.

3. In the D-List Name field, type 1 Overheads, and then click OK. The title bar of the D-List
editor now displays the Library and D-List name: Test.1 Overheads. The number in the D-List
name, in this case 1, refers to the order the D-List will go when you create the D-Cube.

4. From the File menu, click Close.


Now you have finished creating the 1 Overheads D-List.

14 Analyst
Chapter 3: Creating the 4 Months - Fiscal D-List

In this chapter, you will now build your second D-List. This D-List will contain the months of one
financial year (Apr to Mar), together with a subtotal (Full Year). Building the 4 Months - Fiscal
D-List is different from building the 1 Overheads D-List in one important respect: the 4 Months -
Fiscal D-List must be defined as a timescale D-List. After you define a D-List as a timescale D-List,
you can apply growth rates across time and use the timescale D-List in certain Built in Functions
(BiFs).

Create the 4 Months - Fiscal D-List


Create the 4 Months - Fiscal D-List to create a timescale D-List containing each month and a
calculated subtotal for the full year.

Steps
1. From the File menu, click New, D-List.

2. Type the following item names in the Enter item names section, pressing Enter after each:

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

Jan

Feb

Mar

Full Year

3. Click OK.

Tutorial 15
Chapter 3: Creating the 4 Months - Fiscal D-List

Define the Subtotal


Define the full year subtotal as a sum calculation of each month.

Steps
1. Select the Full Year - Calculation cell.

2. Click Change item attributes.

3. Click Paste. The Select items for calculation dialog box appears.

4. Click OK.
You return to the D-List editor with all items pasted into the Calculation field.

5. Click Apply.

Define the D-List as a Timescale


If the items of a D-List represent time periods (days, weeks, months, years, and so on), the D-List
must be defined as a timescale. This allows the D-List to take advantage of the many forecasting
features reserved for timescale D-Lists.

Steps
1. From the D-List menu, click Options.

2. Select the Use as TimeScale check box.


The timescale definitions are generated automatically.

16 Analyst
Chapter 3: Creating the 4 Months - Fiscal D-List

3. Click OK to return to the D-List Editor.

Define the Timescale: Optional


Analyst can also generate unique start and end dates for timescale definitions. When these are in
use, they appear in the From and To columns.

Steps
1. From the D-List menu, click Options again.

2. In the Mode drop-down list, click Custom. Another column, Length, appears.

3. Enter the length of time in days and the from date for the first month. Press Enter.
The To date is automatically generated.

4. For the remaining months, enter the length of time in days, the From and To dates are
automatically calculated.

5. Click OK to return to the D-List editor.


A clock icon appears in the upper left corner of the D-List editor to indicate it is defined as a
timescale.

Color Coding and Saving the D-List


D-Lists tend to be grouped in families or classes of similar lists. In Analyst, these classes are indicated
with different colors. The color convention is optional, but it is useful for navigating complex
models. Below are the color coding conventions used by Analyst.

D-List Class Color

Calculation, accounting, P&L gray

Timescale turquoise

Organizational (regions, divisions, cost centers) light green

Products, services light magenta

Versions, variance light yellow

Steps
1. Click the D-List Color Indicator (the box next to the clock icon in the upper left corner of the
D-List editor). Select turquoise from the ribbon that appears showing the sixteen available
colors.

Tutorial 17
Chapter 3: Creating the 4 Months - Fiscal D-List

2. From the File menu, click Save.

3. Make sure the Test library is selected, enter 4 Months - Fiscal in the D-List Name field, and
then click OK.
The number in the D-List name, in this case 4, refers to the D-List order when you create the
D-Cube.

4. Close the D-List.


Now you have finished creating the 4 Months - Fiscal D-List.

18 Analyst
Chapter 4: Creating the Americas Overheads
D-Cube

In this chapter, you will first create the Americas Overheads D-Cube using the two D-Lists you
created in the previous chapters. Since the Americas Overheads D-Cube contains only two D-Lists,
it is two dimensional, like a single sheet spreadsheet.
After a brief introduction to the parts of the D-Cube window, you will then prepare a draft overheads
budget. This populates the Americas Overheads D-Cube with data and introduces breakback and
other key Cognos 8 Planning - Analyst data entry techniques.
Finally, you will adjust your overheads budget, which introduces the Analyst commands Hold,
Release, and Reset.

What Is a D-Cube?
A D-Cube is a stored multidimensional table of data. Each dimension of the table is associated with
a D-List. The D-Lists supply the row, column, and page labels used in the table and also supply the
formulas for calculations.
Typically a D-Cube will contain no more than five or six dimensions.

Create the Americas Overheads D-Cube


Creating a D-Cube involves selecting the D-Lists to include as dimensions, naming the D-Cube,
and selecting the portion of the D-Cube to view.
The order in which you include the D-Lists in a D-Cube is important.
In general, select D-Lists with the most calculations first. Select the aggregation D-Lists next
(divisions, customers, products) then the timescale D-Lists. Finish with the versions D-List.

Steps
1. From the File menu, click New D-Cube.
The Create New D-Cube dialog box appears with your two D-Lists shown in the Name section.

2. Click 1 Overheads and click the down arrow to move it to the Object(s) Selected portion of
the screen.

3. Click 4 Months - Fiscal and click the down arrow to move it to the Object(s) Selected portion
of the screen. You also can double-click an item to move it to the Object(s) Selected portion of
the screen.

Tutorial 19
Chapter 4: Creating the Americas Overheads D-Cube

Now you have the two D-Lists selected in the correct order (1 Overheads then 4 Months -
Fiscal).

4. Click OK

5. Type Americas Overheads in the D-Cube Name field, and then click OK. The Select dialog box
appears, which allows you to select a portion of the D-Cube to open. To open the entire cube,
click OK.
You have successfully created your first D-Cube.

The D-Cube Window


D-List item names are used as row, column, and page heading labels in D-Cubes.
Formula item names (the subtotals we defined) appear in black text, and detail item names are in
blue text. The same color coding is used for data within the D-Cube grid. See "Color Coding and
Saving the D-List" (p. 17).
Each D-List of a D-Cube is given a group box. The group box displays the name of the active item
in the D-List and includes a D-List color indicator. If you move the mouse pointer over a group
box, the D-List name appears.

Cell Manipulation - Optional


Click a single cell to select it, or select a cell by double-clicking a cell item in the group box.

20 Analyst
Chapter 4: Creating the Americas Overheads D-Cube

To select a range of cells, click the first cell of the range and drag to include the other cells. You
also can press the Shift key in conjunction with any of the keyboard shortcuts.
You can change the active cell using keyboard shortcuts. The most useful keyboard shortcuts are
as follows:

Shortcut Key Description

Home Move to beginning of current row

End Move to end of current row

Ctrl+Home Move to first cell in the grid (upper left corner)

Ctrl+End Move to last cell in the grid (lower right corner)

Page Down Move down one screen

Page Up Move up one screen

To change the contents of a cell, select the cell, change the contents, and press Enter. To cancel any
cell changes, press ESC rather than Enter.
Analyst has a standard color coding convention to show changed and unchanged data.

Unchanged Data Changed Data

Detail Items blue pink

Formula Items black red

This color coding extends to the row and column labels. This means you can see which items contain
changed data even if you cannot see the changed data itself.
Unprocessed data appears in green.
To view the formula associated with a cell (formula items only), select the cell and press F7.

Preparing the Americas Overheads D-Cube Sample Data


Populate the Americas Overheads D-Cube with sample data.

After you complete and check each overhead item, save the D-Cube by clicking Save from the File
menu. If, at any stage, your results are different from the expected results, restore the last saved
version of the D-Cube by clicking Reset from the File menu and try the overhead item again.

Tutorial 21
Chapter 4: Creating the Americas Overheads D-Cube

Prepare the Draft Salaries Budget


The Salaries budget is $3,000,000 for the year, allocated evenly across the months.

Steps
1. In the Americas Overheads D-Cube, select the Full Year - Salaries cell and type 3,000,000.

2. Press Enter.
Analyst performs a breakback because you typed a number in a formula item (the Full Year
subtotal). The 3,000,000 you typed in Full Year allocates evenly over the months.

3. If the Full Year - Salaries cell is 3,000,000 and all the months are 250,000, save the D-Cube.
Otherwise reset it and then repeat from step 1.
The Saving dialog box appears.

4. To save the D-Cube, click Yes.


After saving, you will notice that all the data reverts to the blue and black colors showing the
data has been saved.

Prepare the Travel Budget


The Travel budget is $160,000 for the year, allocated across the months according to a profile. In
this case, the profile is the number of trips made in each month. In this example, the number of
trips builds to six in July and declines to zero in January.

Steps to Enter Monthly Travel Data


1. Select the Apr - Travel cell.

2. Type 3 in the cell, but do not press Enter.


Notice that the number 3 is green. This indicates the number is unprocessed. You can input
many numbers in the D-Cube grid before processing them (pressing Enter).

3. Select the May - Travel cell, and type 4 in the cell.

4. Repeat from step 3, typing the following data into the appropriate Months cell. This is the
travel profile that you will use to allocate the travel budget for the entire year.

22 Analyst
Chapter 4: Creating the Americas Overheads D-Cube

Month Data

Jun 5

Jul 6

Aug 5

Sep 4

Oct 3

Nov 2

Dec 1

Jan 0

Feb 1

Mar 2

The numbers you just typed should appear in green.

Note: If you make a mistake when typing, you can reset an unprocessed (green) number to its
previous value by selecting the cell and pressing ESC. You also can change an unprocessed
number by typing a new value over it.

5. If the data is entered correctly, press Enter.

6. If the total number of trips in the Full Year - Travel cell is 36, save the D-Cube.
Otherwise, reset the D-Cube and try again.

Steps to Enter the Travel Budget for the Year


1. Select the Full Year - Travel cell.

2. Type 160K, and then press Enter.


Analyst allocates 160,000 over the months pro rata.
When typing numbers into a D-Cube grid, use the following suffixes: k (or K) for thousands
and m (or M) for millions. For example: 160k = 160,000.

3. If the Full Year - Travel cell is 160,000 and the Jun - Travel cell is 22,222 then save the D-Cube.
Otherwise, reset the D-Cube and try again.

Tutorial 23
Chapter 4: Creating the Americas Overheads D-Cube

Prepare the Telephone Budget


The telephone budget is $15,000 for April, increasing by 10% each month.

Steps to Use the Grow D-Cube Command to Enter Telephone Budget


1. Select the Apr - Telephone cell.

2. Type 15K and press Enter.

3. In the same cell, enter grow10c.

4. Press Enter.
The remaining months increase 10% until the end of the year.

5. If the Full Year - Telephone cell is 320,764 save the D-Cube.


Otherwise, reset the D-Cube and try again.
The Grow command must be followed by a growth percentage (10% in the above example)
and a growth type. Compound growth is indicated by a c after the growth rate, as in the above
example. Linear growth is indicated by an l after the growth rate. If you do not specify a type,
linear growth is assumed.

The Grow command only works with timescale D-Lists. This command can be entered as grow
or abbreviated to gr or g.

Prepare the Draft Electricity Budget


The electricity budget is $4,000 per month maximum. In the Americas, you use electricity for
heating, so the cost is less for the months of Apr - Sep.

Steps to Enter the Data Using the Copy Command.


1. Select the Apr - Electricity cell.

2. Type 4K> and press Enter.


The number 4,000 copies across all the months.

3. If the Full Year - Electricity cell is 48,000 and each month is 4,000, save the D-Cube.
Otherwise, reset the D-Cube and try again.

Copy Data
Data can be copied using the following copying commands.

Operator Copy Command

> Copy right

24 Analyst
Chapter 4: Creating the Americas Overheads D-Cube

Operator Copy Command

< Copy left

^ Copy up

| Copy down

: Break

These commands can be combined. For example, 4K>| copies the number 4,000 right and down.
You do not have to include the number to be copied with the copy command. For example, if you
type 4K and press Enter, you could copy this number to the right by typing only > in the cell and
pressing Enter.

Steps to Decrease the Electricity Costs in the Americas Summer Months


1. Select the Apr - Electricity cell.

2. Type dec5>, but do not press Enter.

3. Select the Jun - Electricity cell and enter dec10>.

4. Select the Sep - Electricity cell and enter dec5>.

5. Select the Dec - Electricity cell and enter a colon (:).

Note: Copy commands are terminated when they find another command or a colon. Copy
commands also are terminated by unprocessed numbers.
The graphic below shows the unprocessed commands in your D-Cube.

6. Press Enter.
Analyst decreases the initial $4,000 by 5% or 10% as requested.

7. If the Full Year - Electricity cell is 45,800, save the D-Cube.


Otherwise, reset the D-Cube and try again.

Tutorial 25
Chapter 4: Creating the Americas Overheads D-Cube

Arithmetic D-Cube Commands


There are eight arithmetic commands in Analyst, as outlined in the following table. Each command
must be followed by a number with which to perform the action. For example, dec10 decreases the
cell value by 10%.

Command Abbreviation Function

Add a add to

Subtract s subtract from

Multiply m multiply by

Divide div divide by

Percent per take % of

Increase inc increase by %

Decrease dec decrease by %

Power pow raise to power

Prepare the Rent and Rates Budget


The Rent and Rates budget starts at $16,000 per month and increases by 20% in the second quarter.

Steps
1. Select the Apr - Rent and Rates cell.

2. Type 16K> and press Enter.

To implement the increase, you could type inc20> in Jul - Rent and Rates. However, another
way of accessing D-Cube commands is illustrated in the next step.

3. Select the range of cells: Jul - Rent and Rates to Mar - Rent and Rates.

4. Right-click within the selected range of cells and click Apply Commands.

5. Select increase from the command list.

6. Type 20 directly after increase in the text box to the right of the list, and then click OK.
Each cell in the selected range increases by 20% to 19,200.
Commands can also be applied to multidimensional D-Cube selections. This is done by using
Commands on the D-Cube menu and making D-Cube selections.

26 Analyst
Chapter 4: Creating the Americas Overheads D-Cube

If the Full Year - Rent and Rates cell is 220,800 and the Full Year - Total Overheads total is
3,747,364 then save the D-Cube. Otherwise, reset the D-Cube and try again.
You now have finished your first draft budget.

Adjust the Overheads Budget


You receive bad news from the head office: your overheads budget for the year must not exceed
$3,700,000. You must adjust the budget accordingly.

Hold Salaries
You know you are committed to the salary levels you have budgeted, so you plan to hold the salaries
figure and impose the budget restriction.
Holds on cells prevent them from being changed by breakback. However, you can enter or edit
data in a held cell as usual. Held cells are indicated by a light blue background.
You can hold the value of a cell using one of the following methods:

● Type hold or h within the cell.

● Right-click on a selected range and select Hold.

● On the D-Cube menu, select Commands. This is useful for holding multidimensional sections.

You can release the hold on a cell by using one of the following methods:

● Type release or rel within the cell.

● Right-click a selected range and select Release.

● On the D-Cube menu, select Release All Holds. This command releases all holds within the
D-Cube.

Steps
1. Select the Full Year - Salaries cell.

2. Type hold and press Enter.


The Full Year - Salaries cell now should have a light turquoise background indicating that it is
a held cell.

Break Back the Total


Breakback the total to allocate the new budget total across all overheads. Salaries should not change
because of the hold placed on the salary total.

Steps
1. Select the Full Year - Total Overheads cell.

Tutorial 27
Chapter 4: Creating the Americas Overheads D-Cube

2. Type 3.7M and press Enter.


A breakback is performed, allocating the 3,700,000 across all overheads pro rata according to
their previous values. All salaries figures should remain unchanged (blue).
The Full Year figures now should be: Salaries 3,000,000; Travel 149,816; Telephone 300,578;
Electricity 42,868; Rent and Rates 206,738; Total Overheads 3,700,000.

Hold the Grand Total and Reset Rent and Rates


The results of this breakback show that you cannot achieve this saving on Rent and Rates. Therefore,
you now need to hold the grand total and reset Rent and Rates.

Steps
1. Select the Full Year - Total Overheads cell.

2. Type hold and press Enter.

3. Select the Apr - Rent and Rates cell.

4. Type reset> and press Enter.


The Reset command resets cells to their saved value.
All the numbers in Rent and Rates now should be blue.
The Full Year figures now should be: Salaries 3,000,000; Travel 145,543; Telephone 292,032;
Electricity 41,625; Rent and Rates 220,800; Total Overheads 3,700,000.

Decrease Rent and Rates


The budget for your remaining three overheads now is too low. Lower the rent and rates by 10%.

Steps
1. Select the Apr - Rent and Rates cell.

2. Type dec10> and press Enter.


The Full Year figures now should be: Salaries 3,000,000; Travel 152,253; Telephone 305,450;
Electricity 43,577; Rent and Rates 198,720; Total Overheads 3,700,000.

Save and Close the Americas Overheads D-Cube


Holds are saved with a D-Cube file, so it is best to release all holds before saving unless you are
sure you want them.

Steps
1. On the D-Cube menu, click Release All Holds.

2. Save and close the D-Cube.

28 Analyst
Chapter 4: Creating the Americas Overheads D-Cube

Your budget now is complete. You have seen how to use Hold and Release in conjunction with
breakback, and you have been introduced to the Reset command.

Tutorial 29
Chapter 4: Creating the Americas Overheads D-Cube

30 Analyst
Chapter 5: Creating the 2 Divisions D-List

In this chapter, you will build your third D-List. This D-List will contain a list of divisions within
the company (Americas, Northern Europe, Central Europe, Southern Europe and Asia Pacific) with
a subtotal (Total Company).

Create a new D-List


Building the 2 Divisions D-List is much the same as building the 1 Overheads D-List, so the following
instructions are brief. If you need more detail, refer to the relevant step for the 1 Overheads D-List.

Steps
1. From the File menu, click New, D-List.

2. Type the following names into the Enter item names section, pressing Enter after each:

Americas

Northern Europe

Central Europe

Southern Europe

Asia Pacific

Total Company

3. Click OK.
The D-List editor appears with the six items listed.

Define the Subtotal


Define the total company subtotal as a sum calculation of each division.

Steps
1. Select the Total Company - Calculation cell.

2. Click Change item attributes.

3. Click Paste.

4. In the Select items for calculation dialog box, click OK to select all the items.
Remember that selecting nothing means to select all.

5. Click Apply.

Tutorial 31
Chapter 5: Creating the 2 Divisions D-List

Color Code the D-List (optional)


Since the Divisions D-List is a geographical D-List, it should be green.

Steps
1. Click the D-List Color Indicator.

2. Click the light green color.

Name, Save, and Close the D-List


Finalize and close the 2 Divisions D-List.

Steps
1. From the File menu, click Save.

The Save D-List As dialog box appears.

2. In the D-List Name field, enter 2 Divisions, and then click OK.

3. From the File menu, click Close.


You now have finished the 2 Divisions D-List.

32 Analyst
Chapter 6: Creating the 1 Profit and Loss D-List

In this chapter, you will build your fourth and last D-List--a simplified Profit and Loss (P&L)
statement.

Create the 1 Profit and Loss D-List


Create the 1 Profit and Loss D-List to create a simplified P&L statement with calculations other
than subtotals.

Steps
1. From the File menu, click New, D-List.

2. Type the following item names, pressing Enter after each:

Units Sold

Unit Price

Sales

Margin %

Margin

Overheads

Profit

Profit %

3. Click OK.
The D-List editor appears with the eight items listed.

Define the Sales Formula


Sales is calculated by multiplying Units Sold by Unit Price. Cognos 8 Planning - Analyst expresses
the Sales calculation as the following:
+{Units Sold}
*{Unit Price}

Steps
1. Select the Sales - Calculation cell.

2. Click Change item attributes.

Tutorial 33
Chapter 6: Creating the 1 Profit and Loss D-List

3. Click Paste.

The Select dialog box appears.

4. Select Units Sold and Unit Price.

5. Click Move>> to transfer these items to the Items included section.

Tip: You also can double-click an item to move it. It is placed after the first selected item. If
no item is selected, it is placed at the end of the list.

6. Click OK.
The D-List editor calculation field now should contain +{Units Sold} and +{Unit Price} as shown
below.

7. Replace the plus sign (+) in front of {Unit Price} with an asterisk (*).
The calculation field now should contain the following:
+{Units Sold}
*{Unit Price}

8. Click Apply.
The Sales Calculation cell now contains an equal sign (=) to show that it is a formula.

34 Analyst
Chapter 6: Creating the 1 Profit and Loss D-List

Define the Margin Formula


Margin is calculated as a percentage of Sales. The item, Margin %, contains the margin percentage
to use. Analyst expresses the Margin calculation as follows:
+Sales
%{Margin %}

Steps
1. Select the Margin - Calculation cell.

2. Click Paste.

The Select dialog box appears.

3. Select Sales and Margin %.

4. Click Move>> to transfer these items to the Items included section, and then click OK.
The D-List editor calculation field now should contain +Sales and +{Margin %} as shown
below.

5. Replace the plus sign (+) in front of {Margin %} with a percent sign (%).
The calculation field now should contain the following:
+Sales
%{Margin %}

Tutorial 35
Chapter 6: Creating the 1 Profit and Loss D-List

6. Click Apply.

Define the Profit Formula


Profit is calculated as Margin less Overheads. Analyst expresses the Profit calculation as follows:
+Margin
-Overheads

Steps
1. Select the Profit - Calculation cell.

2. Click Paste.

3. Select Margin and Overheads.

4. Click Move>> to transfer these items to the Items included section, and then click OK.
The calculation field now should contain the following:
+Margin
+Overheads

5. Replace the plus sign (+) in front of Overheads with a minus sign (-).
The calculation field now should contain the following:
+Margin
-Overheads

6. Click Apply.

Define the Profit % Formula


Profit % is calculated as Profit as a percentage of Sales. Analyst expresses the Profit % calculation
as follows:
+Profit
/Sales
*100

Steps to set the calculation


1. Select the Profit % - Calculation cell.

2. Click Paste.

3. Select Sales and Profit.

4. Click Move>> to transfer these items to the Items included section.

36 Analyst
Chapter 6: Creating the 1 Profit and Loss D-List

For this formula, Profit must come before Sales.

Steps to reorder the items


1. Select Profit from the Items included list.

2. Click the up arrow so Profit appears before Sales, and then click OK.
The calculation field now should contain the following:
+Profit
+Sales

Tip: You can reorder items by using the arrow keys or by using Sort. Sort allows you to sort
alphabetically, reverse alphabetically, or in the original D-List order. To sort items, you must
select them first.

3. Replace the plus sign (+) in front of Sales with a forward slash mark (/).
The calculation field now should contain the following:
+Profit
/Sales

4. Type *100 below /Sales.


The calculation field now should contain the following:
+Profit
/Sales
*100

5. Click Apply.

Name, Save, and Close the D-List


Finalize and close the 1 Profit an Loss D-List.

Steps
1. From the File menu, click Save.

2. Type 1 Profit and Loss in the D-List Name field and click OK.

3. From the File menu, click Close.


The 1 Profit and Loss D-List now is completed. You will return to this D-List later to make
adjustments and learn some new concepts.

Tutorial 37
Chapter 6: Creating the 1 Profit and Loss D-List

38 Analyst
Chapter 7: Creating the Profit and Loss D-Cube

In this chapter, you create a second D-Cube named Profit and Loss. The Profit and Loss D-Cube
contains three D-Lists (1 Profit and Loss, 2 Divisions, and 4 Months - Fiscal).
You already have used the 4 Months - Fiscal D-List in the Americas Overheads D-Cube, and you
will use it again in the Profit and Loss D-Cube. Sharing D-Lists in this way is a key strength of
Cognos 8 Planning - Analyst. Any changes you make to a D-List are reflected in all D-Cubes that
use the D-List. For example, if you add quarterly subtotals to your 4 Months - Fiscal D-List, they
immediately become available in both the Profit and Loss and the Americas Overheads D-Cubes.

Create the Profit and Loss D-Cube


Create the Profit and Loss D-Cube to contain three D-Lists (1 Profit and Loss, 2 Divisions, and 4
Months - Fiscal).

Steps
1. From the File menu, click New, D-Cube.

2. Make sure the Test library is selected.

3. Select 1 Profit and Loss and click the down arrow key to move it to the Object(s) Selected
section.

Note: Remember that the order you select D-Lists is important.

4. Repeat step 2 for 2 Divisions and then for 4 Months - Fiscal, and then click OK.

5. Type Profit and Loss in the D-Cube Name field, and click OK.

6. Click OK to open the entire D-Cube.

The Three-Dimensional D-Cube Window


The Profit and Loss D-Cube window looks a little different from the Americas Overheads D-Cube.
This D-Cube has an extra group box, which represents the pages D-List.

Tutorial 39
Chapter 7: Creating the Profit and Loss D-Cube

For any D-Cube with three or more dimensions, the D-Cube window has one rows D-List and one
columns D-List. Each of the remaining D-Lists are pages D-Lists. Later in the Tutorial, after you
have populated the D-Cube with data, you will see how to view data in a three-dimensional D-Cube.
You have successfully created the Profit and Loss D-Cube. Leave the Profit and Loss D-Cube open.

40 Analyst
Chapter 8: Creating the
ProfitAndLoss<AmericasOverheads D-Link

In this chapter, you will transfer the Americas division’s Total Overheads from the Americas
Overheads D-Cube into the Profit and Loss D-Cube. To do this, you create and execute a D-Link.
You also will see how to use drill down to trace data that was transferred using a D-Link. You will
drill down on Americas division’s Overheads, which opens the Americas Overheads D-Cube.
This section also deals with limited and saved selections of D-Cubes. This facility allows you to
hide certain rows, columns, or pages and save this selection for later use.

What Is a D-Link?
D-Links transfer data between D-Cubes or between external sources and D-Cubes. External sources
include ASCII files and sources that have an ODBC driver such as SQL databases, dBase files, MS
Access, and Excel. For information on importing data using ODBC, see the Cognos Planning -
Analyst online help.

Create the ProfitAndLoss<AmericasOverheads D-Link


Create the ProfitAndLoss<AmericasOverheads D-Link to transfer the Total Overheads from the
Americas division into the Profit and Loss D-Cube.

Steps
1. Make sure that Profit and Loss D-Cube is open.

2. From the File menu, click New, D-Link.


The D-Link editor appears.

Note: The target for this D-Link automatically defaults to the Profit and Loss D-Cube because
this D-Cube is open and active.

3. Click Source and select D-Cube.

4. Select Americas Overheads and click OK.

Pair D-Lists Within a D-Link


The selected source and target dimensions must be paired by D-Lists. D-Lists can be paired using
an Allocation Table or Match Descriptions.

Tutorial 41
Chapter 8: Creating the ProfitAndLoss<AmericasOverheads D-Link

The Allocation Table allows you to specify any pairing of source and target items. Allocation tables
support many-to-one allocations, in which many source items are consolidated into one target item
and one-to-many allocations, in which one source item is allocated to more than one target item.
Match Descriptions automatically matches D-List items with the same name. If one D-List is used
in both the source and target D-Cubes, the source D-List and the target D-List are paired
automatically.
After pairing the D-Lists, you frequently are left with unpaired D-Lists. You must select the required
items from unpaired D-Lists. In an unpaired source D-List, you select the item containing the data
you require. If you select more than one item, data from all the selected items is consolidated when
the D-Link is executed. In an unpaired target D-List, you select the items into which you want to
put the data.
In our example, the source D-List Americas Overheads and the target D-List Profit and Loss will
be paired using a simple Allocation Table. You are pairing these two D-Lists because they are both
calculation (white) D-Lists. Generally, source and target D-Lists belonging to the same class are
paired.

Steps to Pair the Americas Overheads and Profit and Loss D-Lists With an Allocation
Table
1. Select the source D-List 1 Overheads.

Note: When a D-List is selected, its item details appear.

2. Click CRTL+ the target D-List 1 Profit and Loss.


The D-Link editor now should look like the following:

3. Click Allocate items.


The D-Lists now are paired, but the way the D-List items are matched must be indicated. You
need to bring Total Overheads from the Americas Overheads D-Cube into Overheads in the
Profit and Loss D-Cube.

42 Analyst
Chapter 8: Creating the ProfitAndLoss<AmericasOverheads D-Link

Note: Allocation Table pairings are indicated by red and green arrows. Match Descriptions
pairings are indicated by a yellow arrow.

4. Click the Total Overheads item in the source D-List.

5. Click the Overheads item in the target D-List.


You have just defined a single line of the allocation. The D-Link editor now should look like
the following:

Note: To delete an Allocation Table entry, drag over the source and target D-List items and
then press Delete.
Because there is no source D-List to pair with the target D-List 2 Divisions, the target items of
this D-List must be selected. The Profit and Loss D-Cube contains Profit and Loss data for all
five divisions in the company. This D-Link is bringing in the Americas division’s Overheads
budget. This data belongs in the Americas division’s Profit and Loss only. Therefore, you should
select only Americas as the target item in the 2 Divisions D-List.

Steps to Select the Target Items in the 2 Divisions D-List


1. Click the target D-List 2 Divisions.

2. Select Americas and click the Select button.

The Selected item(s) field appears with Americas listed.

Note: If Americas is not in the Selected items field, highlight Americas on the right, and click
the left arrow to move it to the Selected items field.
The D-Link editor now should now have Americas listed under Selected item(s).

Steps to Name, Save, and Close the D-Link


1. From the File menu, click Save.

2. Type ProfitAndLoss<AmericasOverheads in the D-Link Name field, and then click OK.

Tutorial 43
Chapter 8: Creating the ProfitAndLoss<AmericasOverheads D-Link

3. You are asked if you want to add this link to the Update Link table of the target D-Cube. Click
Yes and click OK in the Update List box.

4. From the File menu, click Close.


You now have created the ProfitAndLoss<AmericasOverheads D-Link.

Execute a D-Link
Execute the D-Link to transfer the Americas Overheads data into the Profit and Loss D-Cube.

Steps
1. From the D-Cube menu, click D-Links, Run.

2. Select the ProfitAndLoss<AmericasOverheads D-Link and click Execute.

3. If the Overheads Total is 3,700,000 and the Profit is (3,700,000), save the Profit and Loss
D-Cube.

You also can execute an open and active D-Link directly. On the D-Link menu, click Execute.
The target D-Cube does not need to be open to execute a D-Link this way. Use this method
also when you want to run a D-Link only once and not save it.
You have transferred data successfully from Americas Overheads to Profit and Loss.

Drill Down to Another D-Cube


Suppose you are interested in the breakdown of the first quarter’s Overheads figures in the Profit
and Loss D-Cube.

Steps
1. Select the Apr, May, and Jun- Overheads cells.

2. From the D-Cube menu, click Drill Down.


A breakdown of the total overheads for each of the selected months appears from the Americas
Overheads D-Cube.

Note: You can open a D-Cube in full or take a limited selection. A limited selection includes
only some of the items from the D-Lists of the D-Cube. For example, the Americas Overheads
D-Cube, which was opened by Drill Down, was opened as a limited selection.

View, Edit and Save Limited Selections


You can save a limited selection of a D-Cube, such as the small portion of Americas Overheads, as
a Saved Selection. These selections are viewed, edited, and saved by clicking Selections on the
D-Cube menu.

44 Analyst
Chapter 8: Creating the ProfitAndLoss<AmericasOverheads D-Link

To illustrate, look at the current selection of the open Americas Overheads D-Cube.

Steps
1. From the D-Cube menu, click Selections, Reselect.
The Reselect dialog box appears. On the Overheads page, note that all the items are in the
Items included list.

2. Click the 4 Months - Fiscal tab.


Notice that only three items (Apr, May, Jun) are in the Items included list.

3. Select Jul, then click Move>> to transfer it to the Items included list, and then click OK.
The Americas Overheads D-Cube selection now includes July data.

4. This selection can now be saved for reuse. To do this, on the D-Cube menu, point to Selections
and click Save current. Under Selection Name, type Americas Overheads Selection, and click
OK.

5. Close the Americas Overheads D-Cube.

6. Save the Profit and Loss D-Cube.


You have finished looking at limited selections and saved selections.

Tutorial 45
Chapter 8: Creating the ProfitAndLoss<AmericasOverheads D-Link

46 Analyst
Chapter 9: Creating the Profit and Loss Data File
Map

In this chapter, you will create a file map for an ASCII file. A sample ASCII file named Tutorial.csv
is provided. The Tutorial.csv file is usually located in the TutorialGO folder of your Cognos 8
Planning - Analyst directory. For example, if Analyst is installed on the C:\ drive, the file is located
in the C:\Program Files\Cognos\c8\samples\<language>\Planning\TutorialGO folder.

What is a File Map?


A file map translates ASCII files so they can be used by a D-Link. You specify which columns in
the ASCII file correspond to the D-Lists in your Analyst model and which columns contain the data
to transfer.

Create the Profit and Loss Data File Map


Create the Profit and Loss Data File Map to import data from an ASCII file into the Profit and Loss
D-Cube.

Steps
1. From the File menu, click New, File Map.

The Select ASCII File dialog box appears.

2. Select the Tutorial.csv file and click Open.

The first page of the File Map Editor appears.


If Tutorial.csv is not automatically displayed, navigate to the TutorialGO folder, for example:
Program Files\Cognos\c8\samples\<language>\Planning\TutorialGO.

3. Because the Tutorial.csv file is comma delimited, make sure that Delimited is selected, and then
choose Comma.

4. Because the first row of this file contains column headings, click Use row as column names.

Note: Do not change the row number from the default setting of 1 since the column headings
in this example are in row 1.

The Map dialog box now should look like the following:

Tutorial 47
Chapter 9: Creating the Profit and Loss Data File Map

5. Click Next.

You now see the second Map dialog box, which indicates where the breaks were inserted
between each column of data.

6. Click Next. The final Map dialog box appears.

7. Select the Use Regional Settings check box to respect settings for the thousand and decimal
separators.

Define the Column Types


The Specify column drop-down box defines column types. There are three column types: Use for
selection, which defines columns that correspond to D-Lists in your model; Use as data, which
defines columns that contain data; and Skip, which defines columns to exclude from import.
By default, all columns are marked as Use for selection, so you only need to identify the data columns
and the columns to skip. In this example, the P&L Line and Division columns correspond to D-Lists
within your model, so they stay marked as Use for selection.

Steps
1. Click the Version column heading.

2. In the Specify column list, select Skip.


Columns that are to be skipped appear with a dark gray background.

3. Click the Apr column heading and drag to Mar, selecting all of the months columns.

48 Analyst
Chapter 9: Creating the Profit and Loss Data File Map

In the Name field, the following appears: 12 Items.

4. In the Specify column list, select Use as data.

Name, Save, and Close the Map


Finalize and close the map file.

Steps
1. From the File menu, click Save.

2. Type Profit and Loss Data in the File Map Name field, and then click OK.

3. From the File menu, click Close.


You have finished creating the Profit and Loss Data File Map.

Tutorial 49
Chapter 9: Creating the Profit and Loss Data File Map

50 Analyst
Chapter 10: Creating the
ProfitAndLoss<ProfitAndLossData D-Link

In this chapter, you will import data from the Tutorial.csv ASCII file. This file contains the sales
data (Units Sold, Unit Price, and Margin %) for all five divisions.
Now that you have mapped this ASCII file, you can create a D-Link with the Profit and Loss Data
file map as the source, and the Profit and Loss D-Cube as the target. You must create this D-Link
and then execute it.
Finally, you will see how you can use drill down to look at the source data in a mapped ASCII file.

Creating the ProfitAndLoss<ProfitAndLossData D-Link


Create the ProfitAndLoss<ProfitAndLossData D-Link to match and allocate data from a mapped
ASCII file into the Profit and Loss D-Cube.

Steps
1. Make sure the Profit and Loss D-Cube is open in Full mode.

2. From the File menu, click New, D-Link.


The target for this D-Link automatically defaults to the Profit and Loss D-Cube since this
D-Cube is open and active.

3. Click Source.

4. Click Mapped (ASCII) File.

5. Select Profit and Loss Data and click OK.


You return to the D-Link editor.
The D-Link editor treats the columns (dimensions) of a mapped ASCII file like D-Lists. In this
example, the first two dimensions (DIVISION and P&L LINE) are the two Use for selection
columns. The last dimension is called DATA, which is a grouping of all Use as data columns
identified in the file map.

Tutorial 51
Chapter 10: Creating the ProfitAndLoss<ProfitAndLossData D-Link

Pair the Data dimension with the 4 Months - Fiscal D-List


Pair the Data dimension with the 4 Months - Fiscal D-List to match source and target data
dimensions.

Steps
1. Select the source dimension DATA.

2. Click CRTL + the target D-List, 4 Months - Fiscal.


The D-Link editor now should look like the following:

3. Click Match descriptions.

The Data and 4 Months - Fiscal dimensions now are paired by Match descriptions, as indicated
by the yellow arrow.

Pair the P&L Line dimension with the 1 Profit and Loss D-List
Pair the P&L Line dimension with the 1 Profit and Loss D-List to allocate source and target data
dimensions.

Steps
1. Click the source dimension P&L Line to select it.

2. Press Ctrl + the target dimension 1 Profit and Loss.

3. Click Allocate items.

52 Analyst
Chapter 10: Creating the ProfitAndLoss<ProfitAndLossData D-Link

In the D-List details section, a blank allocation table appears. You must specify the
correspondence of items. In the following steps, you will allocate the items from the source
D-Cube to the target D-Cube.

4. From the D-Link menu, click Allocation Table, Match descriptions.


This matches item names found in both the source and target dimensions (Margin %, in this
case) and includes them in the allocation table. Make the following matches:

● Select Sales Volume from the source dimension P&L Line.

● Select Units Sold from the target dimension 1 Profit and Loss.

● Select Sale Price from the source dimension P&L Line.

● Select Unit Price from the target dimension 1 Profit and Loss.

The D-Link editor now should look like the following:

Pair the Division Dimension with the 2 Divisions D-List


Pair the Division dimension with the 2 Divisions D-List to match the divisions source and target
data dimensions.

Steps
1. Select the source dimension DIVISION.

2. Click CRTL + the target D-List 2 Divisions.

3. Click Match descriptions.

The D-Link dialog box now should look like the following:

Tutorial 53
Chapter 10: Creating the ProfitAndLoss<ProfitAndLossData D-Link

Execute the D-Link


Execute the D-Link to transfer data from the Tutorial.csv file into the Profit and Loss D-Cube.

Steps
1. From the D-Link menu, click Execute.

2. The Profit and Loss D-Cube now should display the new data brought in from the Tutorial.csv
file.

3. Click the Page: 2 Division group box.

4. Double-click the Northern Europe page.

Drill Down to a Mapped ASCII File


Find the derivation of Margin for the Northern Europe division in Apr.

Note: The Profit and Loss D-Cube still should be open on the Northern Europe page.

Steps
1. Select the Apr - Margin cell.

2. From the D-Cube menu, click Drill Down or press F9.


The rows of the Tutorial.csv file used to make up this value display in a text viewer.

3. From the File menu, click Close.


You have finished importing data into the Profit and Loss D-Cube. Leave the Profit and Loss
D-Cube open.

54 Analyst
Chapter 10: Creating the ProfitAndLoss<ProfitAndLossData D-Link

Name, Save, and Close the D-Link


Finalize and close the D-Link.

Steps
1. Click the D-Link window to make it active.

2. From the File menu, click Save.

3. Type ProfitAndLoss<ProfitAndLossData in the D-Link Name field, and then click OK.

4. You are asked if you want to add this link to the Update Link table of the target D-Cube. Click
Yes and then OK.

5. From the File menu, click Close.


The Profit and Loss D-Cube should be active.

6. Save the Profit and Loss D-Cube.


You now have finished creating the D-Link from Tutorial.csv to the Profit and Loss D-Cube.

Tutorial 55
Chapter 10: Creating the ProfitAndLoss<ProfitAndLossData D-Link

56 Analyst
Chapter 11: Revisiting the Profit and Loss D-Cube

In this chapter, you will learn how to:


● Page through and take slices from a three-dimensional D-Cube.

● Define D-List items as weighted averages to correct certain D-Cube problems.

● Change the format of D-List items using Saved Formats.

● Use a Built-in Function (BiF).

Page Through a Three-Dimensional D-Cube


The Profit and Loss D-Cube has three dimensions (D-Lists). The first two make up the rows and
columns; the third makes up the pages. Each dimension is shown in the Page, Columns, or Rows
group box. Click the group box to view any D-List item in each page, columns, or rows D-List.

Steps
1. Make sure the Profit and Loss D-Cube is open.

2. Click the Page: 2 Divisions group box.

3. Double-click the item you want.


In a D-Cube with more than three dimensions, there is more than one pages D-List. You can
select an item from any of the pages D-Lists as described above.

Tip: Use your keyboard arrows to move up and down to the next item in the pages D-List.

Slice a Three-Dimensional D-Cube


The orientation of an open D-Cube is known as the slice. When you open a D-Cube, a default slice
is taken--the timescale D-List (where present) forms the columns, the longest D-List (that is, the
D-List with the most items) forms the rows, and any remaining D-Lists form the pages.
Therefore, the Profit and Loss D-Cube opens with the following slice: Profit and Loss by Months,
with Divisions as the pages D-List (that is, the 1 Profit and Loss D-List forms the rows, the 4 Months
- Fiscal D-List forms the columns, and the 2 Divisions D-List forms the pages).

Steps to Change the Slice


1. Select the Apr - Units Sold cell.

2. Point to the color indicator of the pages D-List group box.

Tutorial 57
Chapter 11: Revisiting the Profit and Loss D-Cube

3. Click and hold the color indicator.

4. Drag and position the arrow over the 4 Months - Fiscal D-List group box.

5. Release the mouse.


Profit and Loss now appears with 2 Divisions as the columns and 4 Months - Fiscal as the
pages.
The active page in the new pages D-List is determined by the item in this D-List that was active
before changing the slice. In the above example, the Apr page is active because the Apr - Units
Sold cell was selected before the slice was changed.

Steps to Select a Page Item as you Change the Slice


1. Move the pointer over the color indicator of the pages (4 Months - Fiscal) D-List group box.

2. Click and hold the color indicator.

3. Drag and position the arrow over the Northern Europe column heading and release the mouse.
Profit and Loss now appears with 4 Months - Fiscal as columns and Northern Europe as the
pages.

Weighted Averages in the 1 Profit and Loss D-List


You may have noticed that some data in the Profit and Loss D-Cube is not calculated correctly.
For example, look at the Northern Europe division page of the Profit and Loss by 4 Months - Fiscal
slice of the Profit and Loss D-Cube. The Full Year figures for three of the items in the 1 Profit and
Loss D-List (Unit Price, Margin %, and Profit %) are incorrect. Correct these problems by defining
these items as weighted averages.
Weighted averages usually are defined when you initially create a D-List.
To determine what item to weight by, the formula A = B / C is used, where A is the formula item.
Item A should always be weighted by item C.

Note: Remember that A = B / C can also be expressed as B = A * C.

Steps to Define Unit Price as a Weighted Average


1. Open the 1 Profit and Loss D-List.

To open this D-List from the open Profit and Loss D-Cube, right-click the 1 Profit and Loss
D-List group box (Units Sold) and click Edit D-List.

2. Select the Unit Price - Calc. Option cell.

3. Click Change item attributes.

4. In the Calc. Option section, select Weighted Averages.

5. In the Items to weight by list, select Units Sold.

58 Analyst
Chapter 11: Revisiting the Profit and Loss D-Cube

Note: In the P1 Profit and Loss D-List, Sales is calculated from Unit Price multiplied by Units
Sold. You can rearrange the relationship between these items to be {Unit Price} = Sales / {Units
Sold}. Therefore, Unit Price should be weighted by Units Sold. In the equation A = B / C; A is
always weighted by C.

6. Click Apply.
The D-List editor should now look like the following:

Steps to Define Margin % as a Weighted Average


1. Select the Margin % - Calc. Option cell.

2. In the Calc. Option section, select Weighted Averages.

3. In the Items to weight by list, select Sales.

Note: Margin is calculated as Margin = Sales % {Margin %}. This could be rearranged as
Margin % = {Margin} / Sales * 100. Therefore, Margin % should be weighted by Sales.

4. Click Apply.

Steps to Define Profit % as a Weighted Average


1. Select the Profit % - Calc. Option cell.

2. In the Calc. Option section, select Weighted Averages.

3. In the Items to weight by list, select Sales.

Tutorial 59
Chapter 11: Revisiting the Profit and Loss D-Cube

Note: Profit % is calculated as Profit % = Profit / Sales * 100. Therefore, Profit % should be
weighted by Sales.

4. Click Apply.

5. Save the D-List.


The Full Year totals now are calculated correctly.
You have finished setting up the weighted averages in the P&L D-List.

Change Formats in the P&L D-List


Now you need to change the numeric format for some items in the 1 Profit and Loss D-List. Unit
Price should appear in the D-Cube with two decimal places, and Margin % and Profit % should
appear as percentages with two decimal places.

Steps to Change the Numeric Format for Unit Price


1. Make sure the 1 Profit and Loss D-List is active.

Tip: If a D-List is open but not visible, on the Window menu, select the name of the D-List.

2. Double-click the Unit Price - Format cell or click Change item attributes.

The Attribute section of the D-List editor appears.

3. From the Attribute list, select Numeric.

4. In the Decimal Places field, increase the number of decimal places to 2.

5. Click Apply.
Notice that Numeric appears in the D-List editor to indicate that a numeric format is set for
Unit Price.

Steps to Assign a Percentage Format


1. Select the Margin % - Format cell.

2. In the Attribute list, select Numeric.

3. In the Decimal Places field, increase the number to 2.

4. In the Negative Suffix field, type a percent sign (%) before the bracket.

5. In the Positive Suffix field, type a percent sign (%).


The D-List editor now should look like the following:

60 Analyst
Chapter 11: Revisiting the Profit and Loss D-Cube

Steps to Save a Format


1. In the D-List editor, click Save.

The Save Saved Format As dialog box appears.

2. Type Percent 2dp in the Saved Format Name field, and then click OK.
You return to the D-List editor. The saved format name appears at the top of the bottom half
of the D-List editor.

After you save a format, you can use it in any D-List. Click Load on the format screen of the
D-List editor to load a saved format.

Do not apply the saved format yet. You could click Apply now, and the saved format would
be applied to the item Margin %, however, let’s apply this format to both Margin % and Profit
% also.

Steps to Apply a Format to More Than One Item


1. Click Assign.

The Select items to apply active format dialog box appears.

2. In the Items available list, select Margin %.

3. Click Move>> to transfer Margin % to the Items included section.

4. Repeat step 2 for Profit %, and then click OK.

You now are in the D-List editor. Notice that the Saved Format is applied to both the Margin
% - Format cell and the Profit % - Format cell.

Tutorial 61
Chapter 11: Revisiting the Profit and Loss D-Cube

5. Save the 1 Profit and Loss D-List.

6. Select the Profit and Loss D-Cube to make it active.


You should see the effects of the formats you have set.

Add a Cumulative Profit Item


In this section, you insert an extra item to calculate the Cumulative Profit figure in your Company
P&L.
● Add the item Cumulative Profit to the 1 Profit and Loss D-List.

● Use the Cumulative Built-in Function (BiF) to calculate the Cumulative Profit figure in the 1
Profit and Loss D-List. This cannot be done using standard D-List calculations since a time lag
is involved.

● Adjust the time totaling for the Cumulative Profit item so the Full Year gives the correct result.

Steps to Add an Item to the 1 Profit and Loss D-List


1. Make sure the 1 Profit and Loss D-List is active.

2. From the D-List menu, click Add Items, Input.


The Input new Items dialog box appears.

3. Type the item, Cumulative Profit.

4. In the Where drop-down box, click Bottom, and then click OK.
You return to the D-List editor. Cumulative Profit appears at the end of the item list.

Steps to Assign the Cumulative BiF


1. Select the Cumulative Profit - Calculation cell.

2. Make sure the Attribute form is still open. If not, click Change item attributes.

3. Click BiF.

The BiF Function Wizard--Step 1 of 2 screen appears.

4. In the Function Name list, select Cumul.

5. Click Next.

The BiF Function Wizard--Step 2 of 2 screen appears.

6. In the Items drop-down box, select All.


All the D-List items listed should appear, including Profit.

7. Double-click Profit to move it to the Original text box.


This selects the original series of data for which you want to calculate the cumulative total.

62 Analyst
Chapter 11: Revisiting the Profit and Loss D-Cube

8. Click Finish.
You now exit from the Function Wizard and return to the D-List editor. The Calculation field
should contain @Cumul(Profit).

9. Click Apply.

The Cumulative Profit Calculation cell now contains BiF, indicating that the Built-in Function
was set up successfully.

10. Save the D-List.

11. Select the Profit and Loss D-Cube to make it active.


You should be able to view the new Cumulative Profit figures.
You have successfully added an item to the 1 Profit and Loss D-List and defined it as a
Cumulative BiF.

Adjust the Time Totaling for Cumulative Profit


Notice that in the Profit and Loss D-Cube, the item Full Year sums the figures in the new Cumulative
Profit item. You want Full Year to show the Cumulative Profit as the last month of the financial
year. However, it currently adds up figures that are already cumulative totals, giving an incorrect
result.

Steps
1. Make sure the 1 Profit and Loss D-List is active.

2. Select the Cumulative Profit - Calc. Option cell.

3. Make sure the Attribute form is still open. If not, click Change item attributes.

4. Select Time Averages.

5. Select Last period in the Available functions list.

6. Click Apply.

7. Save and close the D-List.


After closing the 1 Profit and Loss D-List, the Profit and Loss D-Cube is active. You will see
that Full Year - Cumulative Profit is no longer a sum of the months but is equal to Cumulative
Profit in Mar, the last period of the financial year.

Tutorial 63
Chapter 11: Revisiting the Profit and Loss D-Cube

8. Save the Profit and Loss D-Cube.

9. Close the 1 Profit and Loss D-List and the Profit and Loss D-Cube.
You have completed the Cognos 8 Planning - Analyst Tutorial.

64 Analyst
Index

creating, 19
A defined, 19
Allocation Table option, 41, 52 drill-down, 44
arithmetic D-Cube commands, 26 holding cells within, 27
keyboard shortcuts, 20
B limited selections, 44
best practices, 5 limited selections, saving, 44
breakback, 22 paging, 57
selecting D-List pages, 57
C slicing, 57
three-dimensional, 39
cells
D-Cube window, 20
color coding, 20
three-dimensional, 39
editing, 20
D-Links
holding, 27
creating, 41
selecting, 20
defined, 41
viewing formulas, 20
executing, 44
cell selection, 20
D-Lists
closing D-Lists, 14
color coding, 17, 32
color coding, 17
creating, 11
cells, 20
defined, 11
D-Lists, 32
detail items, 11
column types, defining in file maps, 48
editing, 11
commands, applying to multidimensional D-Cube
formats, 60
selection, 26
formulas, 11
compound growth, 24
naming, 14
Copy command, 24
numeric formats, 60
copying D-Cube data, 24
order of, 19
copyright material
pairing in D-Links, 41
printing, 6
percentage formats, 60
subtotals, defining, 12
D
time averages, 63
D-Cube commands
timescale, 15, 24
arithmetic, 26
weighted averages, 58
Copy, 24
drill-down, 44
Grow, 24
drilling down
Hold, 27
to a mapped ASCII file, 54
Reset, 28
D-Cubes
E
cell manipulation, 20
editing cells, 20
cell selection, 20

Tutorial 65
Index

executing D-Links, 44 M
mapped ASCII files
F drilling down to, 54
file maps Match Descriptions option, 41, 52
column types, defining, 48
creating, 47 N
defined, 47 naming D-Lists, 14
finding information, 6 numeric formats, 60
formats
in D-Lists, 60 P
numeric, 60
paging in D-Cubes, 57
percentages, 60
percentage formats, 60
saving, 61
printing copyright material, 6
formulas
defining, 33
R
viewing, 20
related documentation, 6
Reset command, 28
G
Global Customer Services Web site, 6 S
Grow command, 24
saving
D-Lists, 14
H
formats, 61
help
slicing
getting, 6
D-Cubes, 57
Hold command, 27
subtotals in D-Lists, 12
holding cells, 27
holds
T
removing, 27
time averages, 63
timescale D-Lists, 15, 24
I
defining, 16
information
time totals, adjusting, 63
finding, 6
U
L
unprocessed numbers
limited selections, saving, 44
changing, 23
linear growth, 24
resetting, 23
lists
formulas, 33
W
weighted averages, 58

66 Analyst