Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hello to all the QV Climbing ,
i have an expression : sum ( aggr ( max ( {$<Subject={1}>} if ( type38=1 or type39=1 , amount , 0 ) ) , proj_code ) )
and i want to make it dynamic by usin a variable : vIfAmount = if ( type38=1 or type39=1 , amount , 0 )
in:
sum ( aggr ( max ( {$<Subject={1}>} $(vIfAmount) ) , proj_code ) )
but i get 0 :
is there any way to make the calculation work ?
thanks .
Not sure what your exact requirement is, but try the attached
thanks ![]()
The variable had no value in it,. If you assign the variable to your expression, it works correctly.
No problem at all ![]()
yea , i wrote with = , and then i delete ..