Hi Yoki,
"the variable %employee_var% will have a lot of data, can i just pick the first data of that variable ?" what do you mean by first data? %EMPLOYEE_VAR% will contain the comma separated list of EMPLOYEE ID's. You want to use any?
Using average rate as a driver... looks not very reasonable! Can you explain more the allocation process?
Vadim