TM1 Rule ATTRS Issue
Posted: Thu Mar 19, 2015 12:41 pm
Hi,
I have 2 cubes:
Cube 1 with the below dimensions:
. !Currency
. !Site
. !Version
. !Month_Year
. !Conso
. !Cost Center
. 'Value'
Cube 2 with the below dimensions:
. !Currency
. !Site
. !Version
. !Month_Year
. !Simulation
. !Cost Center
. 'Value'
I have created an attribute (named Simulation) of the dimension !Conso (from Cube 1) to map the elements with the elements of the dimension !Simulation (from Cube 2).
I then wrote the below rule:
['Value'] = N: DB(Cube1, !Currency, !Site, !Version, !Month_Year, ATTRS('Conso', !Conso, 'Simulation'), !Cost Center, 'Value');
I have an error message saying there is a "syntax error on or before !Conso, 'Simulation' invalid string expression".
Has anybody an idea where the issue is coming from ?
Thanks in advance.
I have 2 cubes:
Cube 1 with the below dimensions:
. !Currency
. !Site
. !Version
. !Month_Year
. !Conso
. !Cost Center
. 'Value'
Cube 2 with the below dimensions:
. !Currency
. !Site
. !Version
. !Month_Year
. !Simulation
. !Cost Center
. 'Value'
I have created an attribute (named Simulation) of the dimension !Conso (from Cube 1) to map the elements with the elements of the dimension !Simulation (from Cube 2).
I then wrote the below rule:
['Value'] = N: DB(Cube1, !Currency, !Site, !Version, !Month_Year, ATTRS('Conso', !Conso, 'Simulation'), !Cost Center, 'Value');
I have an error message saying there is a "syntax error on or before !Conso, 'Simulation' invalid string expression".
Has anybody an idea where the issue is coming from ?
Thanks in advance.