Page 1 of 1

ATTRS Function on Turbo Integrator

Posted: Wed Jan 16, 2013 3:05 pm
by Iteam
Hi!

I´m very new on TM1 and I´m having a problem with this function on TI.

My function is the next

CellPutProportionalSpread(CellGetN('Cartera de Mantenimiento', Empresas, Delegaciones,Cartera, Meses,Años), 'Distribucion Cartera Final',Empresas, Delegaciones, Meses,Años,'TOTAL CARTERA POR TIPO DE CONTRATO', ATTRS('Cartera de Mantenimiento', !Cartera de Mantenimiento, 'Distrib Cartera Final').

I know my problem is on the name of the dimmension because when I try to save it, i get the next error:
Dimension names not allowed in proccess

Can anybody help me?

thanks

Re: ATTRS Function on Turbo Integrator

Posted: Wed Jan 16, 2013 3:24 pm
by whitej_d
You can't use !dimension type references in TI. They only work in rules. I presume you have a variable in the variables tab which corresponds to the Cartera de Mantenimiento element you're trying to reference?

Looking at the rest of your code, I presume it's Cartera, so try changing !Cartera de Mantenimiento to just Cartera.

Re: ATTRS Function on Turbo Integrator

Posted: Wed Jan 16, 2013 4:03 pm
by Iteam
Thank you!!

It works!!! :D