Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Copy expression from a table in another table

Hi guys,

I would like to know if is it possible to copy the values obtained from an expression of a table to another table.

I post an image

image.jpg

Thanks for your help

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

An object (chart for example) can´t access values from another object.

A way of doing this is creating a variable with "fattorato finale" expression and using this variable in both tables

View solution in original post

10 Replies
yduval75
Partner - Creator III
Partner - Creator III

You have to copy your expression in the second tab

Clever_Anjos
Employee
Employee

An object (chart for example) can´t access values from another object.

A way of doing this is creating a variable with "fattorato finale" expression and using this variable in both tables

Anonymous
Not applicable
Author

you intend to insert in the expression of "fatturato finale 2014" something like my_variable = expression ?

Sorry for the stupid question but I'm still inexperienced on QV

simospa
Partner - Specialist
Partner - Specialist

Intende dire che puoi crearti una variabile contenente l'espressione che hai usato per avere quei risultati in quella colonna, magari usando una set analysis, quindi la riporti nel secondo grafico come =$(vMyVariable). Nella variabile devi incollare il testo della formula, senza l' "=" iniziale.

He says that you can create a varable with the expressione you used to have that results in that column, i.e. using a set analysis, then you can use in the second chart as =$(vMyVariable). In the variable paste the text of the formula, without the initial =.

Simone

PS: un consiglio: la prossima volta evita di visualizzare dati tipo l'elenco dei clienti 😉

Anonymous
Not applicable
Author

risolto,oscurato. Ho capito cosa mi ha detto ma non so bene come muovermi. So creare la variabile nella vista variabili però non ho capito bene il resto

Clever_Anjos
Employee
Employee

Yes, Mattia.

There´s one option at your Qlikview

Settings / Variable Overview

Then you create a variable (vFoo for example) and assign your expression to that variable.

Then you add to your objects the variable not the original expression

simospa
Partner - Specialist
Partner - Specialist

Crea una variabile, ad esempio vFatturato2014. Dentro ci scrivi la formula (cioè quello che attualmente hai nella colonna Fatturato finale 2014 senza l'uguale ( = ) iniziale).

Poi torni nel grafico e nell'espressione scrivi =$(vFatturato2014).

Prova a riportare la formula con cui calcoli il fatturato 2014.

Create a variable, i.e. vFatturato2014. Write inside it the formula (what you actually have in Fatturato finale 2014 column without initial equal sign (=) ).

Then return to the chart and in Expression write =$(vFatturato2014).

Try to post the formula you use for your Fatturato 2014

S.

Anonymous
Not applicable
Author

alla fine ci sono arrivato pastrocchiandoci, grazie per la dritta (:

Anonymous
Not applicable
Author

thanks!! it works (: