I have a feeder and want to combine the two feeder statements into one and write it more efficiently. Can someone please help?
Cube 1: RateCodes |
Dimensions: Months PLCCode Rate Type |
Cube 2: Labor |
Dimensions: Employee LaborMsrs Months Projects Versions |
Rule in Labor cube
Code: Select all
[{'Bid', 'Pricing'}, 'PLC Rate'] =N: DB('PLC Rates',DB('Labor',!Projects,!Employee,!Months,!Versions,'PLC'),!Months,'Business Rate');
Code: Select all
['Business Rate'] =>
DB(
'Labor','All Projects','ALL HR Employees',!Months,'Bid','PLC Rate'
) ;
['Business Rate'] =>
DB(
'Labor','All Projects','ALL HR Employees',!Months,'Planning','PLC Rate'
) ;