Constants - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

Percent-growth
Returns the growth over a linear series of categories by calculating the percentage
change between each pair of categories. The order of pairs is based on the object
ID of each category.
Note: This function appears in the list of Available Components when you use
the expression editor to create a calculated category.
Tip: To use ToolTip on the pop-up diagram to show the labels and object IDs of
categories, select the Object Identifier check box in the Preferences property sheet
(Titles tab).
Syntax
percent-growth (cat_code, cat_code|set|level)
Example
A dimension contains a level with Quarters Q1 to Q4. To create growth categories
for Q1-Q2, Q2-Q3, and Q3-Q4, use the function
percent-growth (Quarter)
Share
Returns the values of categories as a percent share of other target categories.
Syntax
share (cat_code,cat_code|set|cat_code, set|set|level)
Example
A dimension contains the category Color with several descendant categories, such
as Black and Chrome, which you define as a set. To create two share categories,
representing each of Black and Chrome, as a percentage of share of the parent, use
the function
share (set, Color)

Constants

A constant is a fixed value that you can use in an expression. You can create a data
item based on an expression that contains a constant.
Sales rep
Bill Gibbons
Bjorn Flertjan
Chris Cornel
Conrad Bergsteige
Constant
Date
Sales 07
60646
62523
22396
13500
Description
Inserts the current system date and positions
the cursor on the first number of the date.
Appendix F. IBM Cognos Transformer Expression Editor
Percentage
7.11%
7.35%
2.63%
1.59%
373

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents