I have the next problem;
I have a employee cube with the next dims (simplified);
- Employee
- EmployeeType (elements I and E)
- Measure (element FTE)
- Period
and the Employee dim has the next attributes;
- FTE (Value between 0 and 1)
- EmployeeType (Value I or E)
With a rule I want to fill the cube with the FTE's out of the attribs in the Emloyee dim, the FTE's should be the same in all months, for example
Dimension.
employee FTE EmployeeType
Employee1 1 I
Cube
EmployeeType I
Measure FTE
Period
01 02 03 ...
Employee1 1 1 1 ...
With a TI proces it's quite simple to load the cube, but how is it done with a rule?
I come this far;
Code: Select all
['FTE' ] = DB('}ElementAttributes_Employee', !Employee, 'FTE');
I have tried this;
Code: Select all
['FTE' ] = If( DB('}ElementAttributes_Employee', !Employee, 'EmployeeType')=!EmployeeType,
DB('}ElementAttributes_Employee', !Employee, 'FTE'),
0);
Can someone help me
