To be more straightforward I have an invoice data with following attributes:
Code: Select all
cost month, localization, cost group, department, accounting project, account, invoice number, invoice total value
AggregatedCost cube (invoice number, invoice total value measures) with CostSource dimension (localization, cost group, department, project, account attributes) and CostDate dimension (standard auto-generated attributes) for the basic invoice data
DistributedCost cube (invoice number, invoice distributed value measures) with the same dimensions as for AggregatedCost cube
The idea of DistributedCost cube is based on the fact that we cannot assign some costs to particularproject because it concerns costs like office rent and as many projects are taking place in the same office we have to distribute that cost to all of them.
For example:
The question is how to write a rule which will propagate such data into DistirbutedCost cube?May 2014 cost for Office Rent invoice number 001 assigned to PROJECT1 should be distributed to PROJECT1 (30%),PROJECT2(50%),PROJECT3(20%)