Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

hello everyone,can you please explain how can i solve this problem?

Header 1productsalepurchase
A234kl
Bxmj
Cytn
Dz

suppose i want to calculate x then x=234-(k+l)

and again for y  ,  y=x-(m+j)

for z, z=y-(t+n)

how can i do this?

11 Replies
Not applicable
Author

use Peek function in the Script.

Not applicable
Author

hi Romel

Iam using it in the script but got a problem,

Data_Details_ID is a field that Iam loading and that field i want to use in peek function can it possible?

LET vcurrent=Peek('Projected_stock_on_hand',(Data_Details_ID-2),'Data_Details')+ Peek('Projected_stock_on_hand',(Data_Details_ID-2),'Data_Details')