Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calculated field in load script

Hi,

I am trying to figure out how to make a calcultaed field in the load script.

If(ActHourRate <> 0, TicTacHours * ActHourRate, TicTacHours * ListHourRate)

All fields except ListHourRate comes from TicTacTime.

Can someone please point me in the right direction?

thanks

g

Skärmklipp.PNG

2 Replies
Gysbert_Wassenaar

If you want to do a calculation in the script then all fields necessary for the calculation need to exist in one table. That means you'll have to join tables together first. Or perhaps you can use a double applymap to get the listhourrate in the tictactime table.


talk is cheap, supply exceeds demand
Not applicable
Author

thanks,

I was hoping to avoid joining them. will try to just move the one field.