Rules to distribute aggregated values into more specific one
Posted: Mon Nov 17, 2014 1:01 pm
I'm trying to create POC TM1 Model in which user will be disparsing aggregated measures into more specific ones based on distiribution map.
To be more straightforward I have an invoice data with following attributes:
I'm planning to create 2 cubes:
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:
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%)