Using ATTRS in TI
Posted: Thu May 13, 2010 7:40 am
I was wondering, if anybody can help me out with this. I'm trying to do a TI where data from an old cube with 3 dimension and transfer it to a new dimension with 4 dimension. Like on a previous post related to this...rather than creating rules, I want to use to TI so I can transfer the data and delete the old cube.
How do you declare the attribute here since it doesn't allow the use of dimension names near the syntax of ATTRS.
I know i need to declare the "model" dimension as a static parameter here but I'm not sure yet cause I can't get pass the error I'm having right now. How different are syntax both useable in Rules & TI to be written.
DATA:
How do you declare the attribute here since it doesn't allow the use of dimension names near the syntax of ATTRS.
I know i need to declare the "model" dimension as a static parameter here but I'm not sure yet cause I can't get pass the error I'm having right now. How different are syntax both useable in Rules & TI to be written.
DATA:
Code: Select all
i = DIMSIZ('product');
while(i>1);
vprod = DIMNM('product', i);
IF (ATTRS('product', 'vprod', 'model')=!model);
CellGetS('Sales', !month, !product, !value_sales);
CellGetN('Sales', !month, !product, !value_sales);
CellPutS('SalesModel',!model, !month, !product, !value_sales);
CellPutN('SalesModel',!model, !month, !product, !value_sales);
i = i - 1;
end;