Hello All,
I am trying to copy data from a 10 dimension cube to a 5 dimension cube using TI process. Since I loose out unique slices due to less number of dimensions within my second cube the TI process over writes / replaces similar records while loading resulting in only a portion of records/slices being loaded.
Is there a script that I could include within the Data/prolog tab which would add records instead of over-writing? in other words perform Incremental load.
Thanks,
Ashwin
Copying data b/w cubes of different dims - Incremental load
-
- Posts: 21
- Joined: Mon Aug 09, 2010 7:52 pm
- OLAP Product: Cognos TM1
- Version: 9.5
- Excel Version: 2003
- Olivier
- Community Contributor
- Posts: 159
- Joined: Thu Jun 26, 2008 5:46 am
- OLAP Product: TM1
- Version: Tm1 10.2.2fp4 -> 2.09
- Excel Version: Excel 2013 - 2019
- Location: Sydney
Re: Copying data b/w cubes of different dims - Incremental l
Hi,
I think you probably use only CellPutN to populate your values in the destination cube.
This result with the latest record corresponding to the dimensionnality beeing stored.
TO accumulate data you will need to use :
CELLPUTN ( Value + CELLGETN ( 'cube', dim1, dimn ) ,'cube', dim1, dimn ) ;
Hope this helps,
I think you probably use only CellPutN to populate your values in the destination cube.
This result with the latest record corresponding to the dimensionnality beeing stored.
TO accumulate data you will need to use :
CELLPUTN ( Value + CELLGETN ( 'cube', dim1, dimn ) ,'cube', dim1, dimn ) ;
Hope this helps,
HTH
Olivier
Olivier
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: Copying data b/w cubes of different dims - Incremental l
... And in case you are using the TI wizard to generate your script and not writing it yourself (which I wouldn't recommend except for the simplest of cases, but hey, you're the dev), you need to make sure you choose the Accumulate Values radio button in the Data Action section of the Maps - Cube Tab. The result will be the same as described by Olivier, namely before writing something to a cell its contents will be read and added to the value being loaded.
Last edited by qml on Thu Sep 08, 2011 1:32 pm, edited 1 time in total.
Kamil Arendt
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: Copying data b/w cubes of different dims - Incremental l
Just to stir the pot a little.
Do you have totals on the dimensions you are summarising?
If you do (and you ought to) you might find a rule- and feeder-based approach better. Just feed (conditionally if you need to) from the totals in the source cube to the detail in the target, then rule the totals in the target from the source. Then you don't have a process to run and the users can see where the numbers come from.
Do you have totals on the dimensions you are summarising?
If you do (and you ought to) you might find a rule- and feeder-based approach better. Just feed (conditionally if you need to) from the totals in the source cube to the detail in the target, then rule the totals in the target from the source. Then you don't have a process to run and the users can see where the numbers come from.
-
- Posts: 21
- Joined: Mon Aug 09, 2010 7:52 pm
- OLAP Product: Cognos TM1
- Version: 9.5
- Excel Version: 2003
Re: Copying data b/w cubes of different dims - Incremental l
Thank you all for your quick response. Its working ...
Thank you again for your help. This forum rocks.... =D
Thank you again for your help. This forum rocks.... =D