ViewCreate with keeping consolidation for data transfer
Posted: Thu Jul 05, 2012 10:57 am
Hi All,
I have an interesting situation,
I want to transfer data between two cubes, Cube A and Cabe B.
Cube A has 8 dimensions and cube B has 10 dimension.
One twist here is Cube A(Source cube) has a dimension name Regions with Hierarchy of
Countries > City
Cube B has a Region_Consol dimension with only Countries.
Now I want transfer data between Cube A to Cube B with TI.
I am creating a temporary view using VIEWCREATE function. as this function by default has zero and consolidation suppressed. so this will not transfer data.
If I use ViewExtractSkipCalcsSet(Cube,ViewName,0) then consolidation from all dimensions get active and though data transfer is correct I will get an error message.
A simple way to avoid this is to create a temporary subset for all dimensions and assign to this Sourceview.
I feel its a bit lengthy code. Is there any other simple way to assign only particular dimnsion with consolidtion and rest with suppression on
looking for some shortcut from TM1 gurus
..
Regards,
Lav
I have an interesting situation,
I want to transfer data between two cubes, Cube A and Cabe B.
Cube A has 8 dimensions and cube B has 10 dimension.
One twist here is Cube A(Source cube) has a dimension name Regions with Hierarchy of
Countries > City
Cube B has a Region_Consol dimension with only Countries.
Now I want transfer data between Cube A to Cube B with TI.
I am creating a temporary view using VIEWCREATE function. as this function by default has zero and consolidation suppressed. so this will not transfer data.
If I use ViewExtractSkipCalcsSet(Cube,ViewName,0) then consolidation from all dimensions get active and though data transfer is correct I will get an error message.
A simple way to avoid this is to create a temporary subset for all dimensions and assign to this Sourceview.
I feel its a bit lengthy code. Is there any other simple way to assign only particular dimnsion with consolidtion and rest with suppression on
looking for some shortcut from TM1 gurus

Regards,
Lav