Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am getting Invalid expression script error . I might be overlooking, but couldn't find whats wrong with this.
please help.
this is correct too. Thank you
Is everything resolved now?
Hi Sunny,
I know this has been resolved but in this case preceding load is not required.
Like this :
;
LOAD
%MATERIAL_KEY,
%LOCATION_KEY,
%ACCT_CAL_FACT_KEY
, Sum(Avg_WKLY_DMD_Current) as Avg_WKLY_DMD_Current
, Sum(Avg_WKLY_DMD_2Weeks) as Avg_WKLY_DMD_2Weeks
,(Sum(Avg_WKLY_DMD_Current) + Sum(Avg_WKLY_DMD_2Weeks)) / 3 as Avg_WKLY_DMD
, %MATERIAL_KEY&'-'&%LOCATION_KEY as Mat_Loc_Key
Resident
PSI_Data
Group by
%MATERIAL_KEY,
%LOCATION_KEY,
%ACCT_CAL_FACT_KEY
;
yes, thankyou
Glad you found it!!