Need hele with Rule
Posted: Tue Feb 10, 2026 11:03 pm
Hi,
I need help with a rule.
In the rule, I am getting an error on two lines
and
On both lines, I get invalid string expression. I have verified and 'PLC' in both cubes is a string and the same measure dimension "Labor Calcs" common in both cubes.
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.
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.