Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

felisema
New Contributor III

Copy values in another column

hello guys i need your help once again. I'm still new in the world QlikView so be patient Smiley Happy.

I start to explain my problem.

I have a table with several columns with different data inside them, all I have to do (I do not know if it possible) is to copy the contents of a column in another column by pressing a button.

Thank you again for any help and if something is not clear feel free to ask.

1 Solution

Accepted Solutions
francoiscave
Contributor III

Re: Copy values in another column

Mattia,

It's better like this ?

François

9 Replies
francoiscave
Contributor III

Re: Copy values in another column

Hi Mattia,

If I understand well your issue,

You can use a condirional exprexion in your chart (with a variable and a button):

François

felisema
New Contributor III

Re: Copy values in another column

my problem is the expression. I don't really know how to write it and how to set the button.

francoiscave
Contributor III

Re: Copy values in another column

Mattia,

See the attached file...

It is what do you expect ?

François

felisema
New Contributor III

Re: Copy values in another column

I can truly say that it is almost what I need. the only thing is that the column should always be present and not disappear and reappear when I press the button. anyway thanks!

francoiscave
Contributor III

Re: Copy values in another column

Mattia,

It's better like this ?

François

felisema
New Contributor III

Re: Copy values in another column

ok I made a small change. Unchecking the conditional, the column does not disappear. Now I try to adapt this on my work. Thank you, I will let you know if it works (:

francoiscave
Contributor III

Re: Copy values in another column

Mattia,

I hope it will help you !

If you need some more help, post your app.

If you are satisfied, mark a response as correct or helpfull to close this thread.

Thanks,

Have fun with QV and happy new year !

François

felisema
New Contributor III

Re: Copy values in another column

François it works!!!!! thank you so much!!!!!!!!

Edit.

you can bring the data into the new column without making any changes? I do not need to average but only copy them, what function can I use? This because the data that I'll get are numeric with decimals

balkumarchandel
Valued Contributor II

Re: Copy values in another column

Not an issue you can just you can just replace =avg(Code) to only = Code

Community Browser