Cube 'cActual' with Dimensions Year, Month, Keys
Cube 'cPlan' with Dimensions Year, Keys
Cube 'cDistribution' with Dimensions Year, Month, Type
Rule in Actual:
Code: Select all
['plan']=DB('cPlan', !Year, !Keys)*DB('cDistribution', !Year, !Month, 'typeLinear');
At first, it's obvious to feed in the plan-cube, but how to match the missing dimension month?
Do I need to set 12 feeder, so that every single month is fed(, due to arrays with { } are not available in feeder-target)?
Code: Select all
['Plan']=>DB('cActual', !Year, 'Jan', 'Actual');
['Plan']=>DB('cActual', !Year, 'Feb', 'Actual');
...