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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
thanhphongle
Creator II
Creator II

operating results from 2 different charts

Hello Community,

is it possible to operate the end results from two different charts.

excample

1st chart

ProductCost
A100
B200
C300

sum(Cost) = 600

2nd chart

CountryTaxes
Germany19%
France19,6%
UK17,5%

avg(Taxes)=18,7%

Now i want to create a 3rd chart which only takes the endresults of both charts (600 and 18,7%)

-> (endresult of the 1st chart)*(endresult of the 2nd chart)=Newendresult

-> 600*18,7%=712.2

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

In the script you can calculate the total sum and total % of both tables, put the results in 2 variables then multiply the variables.

You can reach the same result in layout (Eg TextBox) using a sum and aggr function

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

In the script you can calculate the total sum and total % of both tables, put the results in 2 variables then multiply the variables.

You can reach the same result in layout (Eg TextBox) using a sum and aggr function

thanhphongle
Creator II
Creator II
Author

unfortunetely i cant manage it in the script. may u have a solution for me how to manipulate the script?

thanhphongle
Creator II
Creator II
Author

and can u exactly show me how to put the results in two variables ?