1. Labor Cost – has 4 dimensions: Employees, Months, Projects and Measure. Employees dimension has an attribute Org.
2. Org to Pool – has 2 dimensions: Org and Pool Types. Pool Types has two string elements – G&A and Overhead. This cube lists the G&A and OH pool numbers for each org.
3. Summary – has 5 dimensions: G&A_Pools, Overhead Pools, Projects, Months and Measure.
I tried to write a rule in the summary cube like this without success:
Code: Select all
['Base']=N:DB('Labor Cost',(DB('Org to Pool',attrs('Employees',!Employees,'Org'),'G&A')),(DB('Org to Pool',attrs('Employees',!Employees,'Org'),'Overhead')),!Months,!Projects,'Labor Cost');