This content has been marked as final.
Show 2 replies
-
1. Re: Parameters in aggregated Calculations
Deepak Rai Oct 24, 2017 5:03 PM (in response to Vijaymakesh Rajgopal)if Location = "A" then
Avg(Salary) * ATTR([A_input])
elseif Location = "B" then
Avg(Salary) *ATTR( [B_input])
else Avg(Salary)
End
-
2. Re: Parameters in aggregated Calculations
Zhouyi ZhangOct 24, 2017 5:05 PM (in response to Vijaymakesh Rajgopal)
Hi, Vijaymakesh
you can add ATTR() to your location field as below
IF ATTR([Location]) = "A" THEN
AVG([Salary])* [A_input]
elseif ATTR(Location) = "B" then
Avg(Salary) * [B_input]
else Avg(Salary)
END
Hope this could help
ZZ