same cube CellGetN for a IF argument and CellPutN
Posted: Thu Jan 06, 2011 6:28 am
Hi there,
I have a 'detailed cube' with a string element in measure dimension - REGION. Within the same cube and measure dimension I have numeric VALUE.
A global cube holds region % rates. Region is a dimension for this global cube.
A TI Process transforms the VALUE into further detail by multiplying by each regions % rates. To get the correct % we need to refer to what REGION from string in detailed cube, then get the related % from global cube.
I havent fully tested this but Is the best way to do this by (not true syntax below but basic logic)
I have a 'detailed cube' with a string element in measure dimension - REGION. Within the same cube and measure dimension I have numeric VALUE.
A global cube holds region % rates. Region is a dimension for this global cube.
A TI Process transforms the VALUE into further detail by multiplying by each regions % rates. To get the correct % we need to refer to what REGION from string in detailed cube, then get the related % from global cube.
I havent fully tested this but Is the best way to do this by (not true syntax below but basic logic)
Code: Select all
IF(cellgets(detailed cube)) = 'a region';
CellPutN(target cube*% a region)
ELSEIF(cellgets(detailed cube)) = 'another region';
CellPutN(target cube* another region)