Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
teruru
Contributor III
Contributor III

Calculation between tables

Hi,
Id like to calculate the [TableX.columnA] * [Table.columnB].

How can I calculate with script?

4 Replies
JHuis
Creator III
Creator III

CAn you give an example of your data?

Why do you want to do this in the script and not in the dashboard? 

teruru
Contributor III
Contributor III
Author

thank you for reply.

I share the data.

when I have a data like the pic., I wanna calculate below.
(keys are ID and data.)

cal1)sum(data 2) as ResultA
cal2)data2/ResultA as. ResultB
cal3)data1*ResultB as ResultC
cal4) Sum(ResultC)

samp.png

Mark_Little
Luminary
Luminary

Hi,

If you want to calculate between table you will need to join them together. 

 

teruru
Contributor III
Contributor III
Author

thank you,

I wanna calculate the number in the same table.