|
Hi Folks,
I am trying to pull values from one cube to another. Here is the scenario.
I have two cubes one is the main cube named 'All Expense' having these dimensions
Function
Department
Central Nature
Scenario
Facility
Year
Months
Expense Measures
I am pulling values from an other cube named as 'Long term disability Insurance' having the dimensions listed below into the 'All Expense' cube
Function,
Facility
Year
Scenario
Employee(Attributes:Facility(text),Department(Text)).
Employee Insurance Measure
Now the department resides in the attribute of the employee dimension and i want to pull the details of only the departments pertaining to the employee.
This piece of code works fine but I am not sure if it will give me the results as expected.
['Amount LC']=N B('Long Term Disability Insurance',!Function,!Facility,!Year,'Budgeted',!Department,'Employer Premium LC');
I get error when i try to do something like this.
['Amount LC']=N B('Long Term Disability Insurance',!Function,!Facility,!Year,'Budgeted',ATTRS('Employee',!Employee,'Department'),'Employer Premium LC');
Really confused as to how to retrieve the values in such cases or do I have to put another dimension in the 'Long Term Disability Insurance cube'?
I Request someone to kindly help me in this regards.
Thanks,
Ravi Ahuja. |
|