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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using the result value from one table in another table

Hi all, thank you for your help.

Here is another question.

I have an expression named 'Formulae' with some complex calculations in straight table.

is there any way to use its value (actually, I need sum(Formulae)) in another table or I should recalculate it?

Thank you.

3 Replies
Miguel_Angel_Baeyens

Hello,

In that case you may set your expressions as variables in your load script, so you can reference them later on. For example:

SET vFormulae = Sum(Amount);


And then use

$(vFormulae)
as expression in your charts.

Not applicable
Author

Thank you but this is not my case

Again,

I have a straight table, some expressions are coming from SQL, some are calculated.

All formulas below are simplified.

ColumnA=Date (from SQL)

ColumnB=InOutFunds (From SQL)

ColumnC=below(Date)-Date (calculated expression)

ColumnD=ColumnB+above(ColumnD) (calculated expression)

ColumnE=ColumnD*ColumnC/365 (calculated expression)

DateInOutFundsTermInvestmentsColumnE
01.01.2005100311008.49
01.02.2005120152209.04
16.02.2005751029529.5


The sum of ColumnE counts in Total of the table and this value I want to use in another table.

Miguel_Angel_Baeyens

Hi,

So if I understand you correctly, there is no other way to pass one expression into another chart. You will need then to recalculate in your new chart.

Well, maybe using macros you will get it...