I need help with a rule.
Code: Select all
['Hours'] =N: if (
attrs( 'Versions', 'Forecast', 'LiveVersion') @='Y'
& !Companies @= attrs ( 'Employees' , !Employees, 'EmplGroup' )
& !PLC @= DB('Labor-ASDF',!Employees,!Months,!Projects,!Versions,'PLC')
,
DB('Labor-ASDF',!Employees,!Months,!Projects,!Versions,'Hours')
,
CONTINUE
);
Code: Select all
!PLC @= DB('Labor-ASDF',!Employees,!Months,!Projects,!Versions,'PLC')
and
Code: Select all
DB('Labor-ASDF',!Employees,!Months,!Projects,!Versions,'Hours')
And 'Hours' is a number from the same measure dimension "Labor Calcs" common in both cubes.
Can someone help? stuck on this for more than 2 hours.
Thanks,
Paul.
