total no.of rows in Cube A is not copying to the target Cube

Post Reply
ryan
Posts: 59
Joined: Thu May 26, 2011 5:04 am
OLAP Product: COGNOS
Version: 9.0
Excel Version: 2007

total no.of rows in Cube A is not copying to the target Cube

Post by ryan »

Cube A:
----------
Version (Actual)
Container Type(A,B,C)
Container Size (20,40,40H)
Period
Measure

Note: Every Container Type has all Sizes.

Cube B:
Version (Budget)
Container Type (A,B,C)
Container Size (OneSize)
Period
Measure

When I am copying data from cube A to cube B(using TI process menu driven-just mapping the dimensions/elements etc-not writing any code) few rows are missing. Since in Cube B we want data @ Container Type level, I am using another element called 'OneSize' @ cube B. And wrote a formula @TI variable:
tgtContainerSize = 'OneSize' (Type:String, Element)

Let say in CubeA under 20size if there are 5 rows, when copying to cube B; I can see only the first row out of the 5 rows which means the rest are omitted or skipped.
Is there any way that I can do to pump those missing rows from Cube A to Cube B?
please help me.
Thanks in advance.
Configuration Details
Microsoft Window Server 2003 Exterprise x64 Edition Service Pack 2
RAM 32 GB
using IBM Cognos Express Xcelerator (Version 10.1)
MS-Office Excel 2010 (12.0.6514.5000)SP2 MSO (12.0.6425.1000)
Microsoft .NET Framework 3.5
Christopher Kernahan
Community Contributor
Posts: 147
Joined: Mon Nov 29, 2010 6:30 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: Office 2010

Re: total no.of rows in Cube A is not copying to the target

Post by Christopher Kernahan »

I'm not sure how to do this using the wizard, but what you need to do in TI will be to set 'OneSize' as your global container size in cube B as you have done and then in the Data tab use;

Cell Put N( vValue + CellGetN(same variables), variables);

This will retrieve any value in the cell already and add the the data to it.
User avatar
Michel Zijlema
Site Admin
Posts: 713
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: total no.of rows in Cube A is not copying to the target

Post by Michel Zijlema »

Christopher Kernahan wrote:I'm not sure how to do this using the wizard, but what you need to do in TI will be to set 'OneSize' as your global container size in cube B as you have done and then in the Data tab use;

Cell Put N( vValue + CellGetN(same variables), variables);

This will retrieve any value in the cell already and add the the data to it.
If you're going through the wizard you need to select 'Accumulate Values' as Data Action on the Cube sub-tab (part of the Maps tab) to have this code generated.

Michel
ryan
Posts: 59
Joined: Thu May 26, 2011 5:04 am
OLAP Product: COGNOS
Version: 9.0
Excel Version: 2007

Re: total no.of rows in Cube A is not copying to the target

Post by ryan »

Michel Zijlema wrote:
Christopher Kernahan wrote:I'm not sure how to do this using the wizard, but what you need to do in TI will be to set 'OneSize' as your global container size in cube B as you have done and then in the Data tab use;

Cell Put N( vValue + CellGetN(same variables), variables);

This will retrieve any value in the cell already and add the the data to it.
If you're going through the wizard you need to select 'Accumulate Values' as Data Action on the Cube sub-tab (part of the Maps tab) to have this code generated.

Michel
Thanks Michel, it worked.
Configuration Details
Microsoft Window Server 2003 Exterprise x64 Edition Service Pack 2
RAM 32 GB
using IBM Cognos Express Xcelerator (Version 10.1)
MS-Office Excel 2010 (12.0.6514.5000)SP2 MSO (12.0.6425.1000)
Microsoft .NET Framework 3.5
Post Reply