Sunday, January 20, 2013

Creating Dimensions Cognos Powerplay Transformer Cubes - Tutorial 2-of-30

Creating Dimensions Cognos Powerplay Transformer Cubes (using Flat File):
Using Single Flat File:
1- Open the Cognos Powerplay Transformer. Create a New Model.
2- Right click the datasource tab- area, and click on New Datasource.
3- Select source as flat file SalesData.csv
4- Now, create the dimensions & levels. There are multiple ways to create a dimension.
5- Lets create Customer Geo Dimension: Right click the dimension map. Insert Dimension.
6- Give a name to the dimension: Customer Geo Dimension: Drag and drop Country & City
7- Right click the Dimension area and Insert Level. Set source as Cust_id.
8- Next we need to set Label.
9- Click : select label as Customer Name. Source as Customer Code.
10- Now create Product Dimension --> Product Category -- Product Type -- Product
11- Set Product Code as Source and Product Name as Label for PRODUCT LEVEL.
12- Drag Sales Amount and Sales Quantity in the Measures Section.
13- Now we need to create cube.
14- Right click Cube Tab Area. Insert Powercube; Give a name. It is stored as .mdc. Set a path.
15- Right click again the powercube and create powercube.
16- The cube is generated successfully.
SO THATS IT....

Basic Cognos Powerplay Transformer Cubes - Tutorial 1-of-30


Create First Cognos Powerplay Transformer Cubes - Tutorial:
Cognos Transformer is a tool to create Cognos Multidimensional cubes (MOLAP) model; Also, known as Cognos powerplay cubes.
This tool creates a metadata model file with .mdl extension, which generates a physical cube with .mdc extension.
Transformer cubes store data in .mdc file.
Lets create our first Cognos Powerplay Transformer cube.
High level Steps:
Create a Datasource.
Create Dimensions.
Add Levels to Dimensions.
Add Facts.
Inserting a PowerCube.
Create the Powercube: (Inserting data in the cube)
Publishing the cube on Cognos Server.
Accessing the Cube on Cognos Server.

Pre-requisite: You should have Cognos Transformer client installed on your machine and connected to the Cognos server.
We will create our first cube using a .csv file. Keep this file handy.
Detailed Steps:
Create a Datasource:
1- Open the Cognos Transformer Client.
2- Click on Create a new model.
3- Give a name of model, MyModel. Click Next.
4- Give a name for the datasource. From the datasource type, select Delimited field text with column titles.
5- Click Next; click Browse and navigate to the .csv file and click next.
6- Uncheck Run Autodesign and click finish.
7- You have successfuly created a datsource.
Create Dimensions:
8- A Dimension consists of one or multiple Hierarchy and a Hierarchy comprises of one or more Levels.
9- Lets create a dimension. Right Click on Dimension Map on top and select Insert Dimension.
10- Give a name to the dimension, Customer Geography Dimension.
11- Keep everything default for now and click on Ok.
12- Similarly, Insert Product Dimension.
Add Levels to Dimensions:
13- Open the datasource and drag and drop Country, City and Customer Name in the Customer Geography Dimension.
14- In the Product Dimension, drag and drop Product Category, Product Type and Product Name.
Please note: This is basic cube, please see further videos; we will use Customer Code and Name both in the Customer level; similarly for Product.

Add Facts.
15- A cube contains atleast a Fact.
16- From the datasource, drag and drop Sales Amount and Sales Quantity into the Facts Area, next to the Datasource.
Inserting a PowerCube:
17- Right click the Powercubes area, click on Insert Powercube.
18- Mention PowerCube name as MyCube.
19- Keep everything default for now and click on Ok.
Create the Powercube: (Inserting data in the cube)
20- Right click on the powercube.
21- Click on Create Selected PowerCube.
22- Cube is successfuly created.
Publishing the cube on Cognos Server:
23- Right the cube and select Publish Powercube as datasource and package.
Keep all default values. We will see the details in the later videos.
Please note, there are other methods of creating a Cube datasource and package; Look at video: Publishing a Cognos Transformer cube / Cognos Powercube.
24- Enter your credentials to connect to the Cognos Server.
25- Click on Ok.
Accessing the Cube on Cognos Server:
26- Logon to the Cognos Portal.
27- Goto Launch and select Analysis Studio.
28- Click on the Package for MyCube.
29- Click on Blank Analysis.
30- Drag and Drop Customer Geography Dimension on the Rows and Product Dimension on the Columns.
31- Drag and Drop Sales Amount in the Intersection of Crosstab.
32- Check the drill up and drill functionality.
So thats it....




Sunday, October 7, 2012

Creating Dimensions IN TM1 using Turbo Integrator Process

Creating Dimensions in TM1 using Turbo Integrator Process
 There are 3 ways to create Dimensions
        a. Manual Insert Elements & Dimension
        b. Excel / Copy Paste method
        c. Through TM1 Turbointegrator Process (TI)

Steps (C- Through TM1 Turbointegrator Process (TI) ):
Open the BDCS Data Server
i. Click on Processes
ii. From the Panel select Data Source, Click on Text and Navigate to Product.csv file

iii. Focus on the below area of screen and confirm that v1 is Product and v2 is Product Type and v3 as All Product
iv. Click on Variable tab and rename V1 as vProducts, V2 as Product Types and v3 as Total Products
v. Select Contents as Element for Product and Consolidation for other two
vi. From the Maps Tab in the Dimensions Create a New Dimension known as Product (Products) at the end Element Order should be make as Automatic by Hierarchy
vii. Click on consolidations Tab, make Product as a Child for Product Type and make ProductType as Child for TotalProducts.
viii. Click on the advanced tabs and make sure to validate/Click on all the Tabs.
ix. Save the Process as CreateProductcsv
x. Run the Process
xi. Validate Elements in Products Dimensions
xii. Similarly Create the Channel Dimensions and Process.

SO THATS IT......

Creating Dimensions in Cognos TM1

Creating Dimensions in TM1
 There are 3 ways to create Dimensions
          a. Manually Insert Elements & Dimension
          b. Excel / Copy Paste method
          c. Through TM1 Turbointegrator Process (TI)

Let's create Dimensions in TM1.
Steps (a- Manually Insert Elements & Dimension):
Open the BDCS Data Server
1. Right Click on Dimensions and select New Dimensions
2.  It opens up a Dimensions Editor -
(It is an interface to create or order/reorder the Elements of the Dimensions

3. Click on Edit > Click on Insert Element
4. Set 3 Facts,  as shown
        a. Unit Sales Prices
        b. Unit Cost
        c. Margin
5. Save and Give a Name to Dimension as Sales_Measures
6. Again Click on Edit -> Click on Insert Element
7. Set 2 Elements
    a. Budget Versions 1
    b. Budget Versions 2
8. Save and Give a Name to Dimension as Versions


Steps (b- using Dimension Worksheets Excel / Copy Paste method):
 Open the BDCS Data Server
1. Right Click on Dimensions and select New Dimensions
2. From Excel Sheet, Notepad etc. Copy the Elements (Jan, Feb… Dec) and Paste it in Dimension Editor
3. Create Five New Elements
     i. Qtr1
     ii. Qtr2
     iii. Qtr3
     iv. Qtr4
     v. Total Year

4. Select the first three months. Drag and drop them in Qtr1. Click on Set Dimensions Order.
5. Click Qtr1 and 3 children of Qtr1 and drop it under Total Year. Click on Set Dimensions Order.
6. Repeat the above two steps for the remaining Qtrs
7. Save the Dimensions as Months
8. Dont forget to Click on Set Dimensions Order *****

FOLLOW NEXT POST FOR TM1 Turbointegrator Process (TI)

SO THATS IT......