Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi, so I created a variable in settings and now I want to use this variable when summing up things.
Variable: Turnover
trade_price*traded_amount
Expression:
sum(If(IsNull(sub_exec_broker),Turnover))
sum(If(IsNull(sub_exec_broker),$(Turnover)))
Try with
sum(If(IsNull(sub_exec_broker), $( Turnover ) ))
Regards
Anand
try this
sum(If(IsNull(sub_exec_broker),$(Turnover)))
Update:- When create the variable Turnover do not use = sign above the fields
Ex:-
Let Turnover = 'trade_price*traded_amount';
And expression will be =sum( $(Turnover) )
Regards,
Anand
Not Working. Should I change anything to the defintiion of the variable?
Sorry doesnt give me anything
Doesnt sum i jsut get 0 as value
Create variable like
Let Turnover = 'trade_price*traded_amount';
Your Expression:-
sum( If ( IsNull( sub_exec_broker ) = -1, $(Turnover) ) )
Hope this works
Regards
Anand
I appreciate your effort, but it doesnt work I get 0 as value I have made the LET step and use your expression.