Discussion Board for collaboration on QlikView Scripting.
I need to copy an variable calculation result to another variable or qvd that I will use in order to compare between the two versions.
Lets say i have the vTest=count(volume)
The calculation of this variable in the interface gives me 10.
Is there any way to copy this result to another variable vTest2??
I have managed to do that with triggers but it does not work on the server side
Please check enclosed file...
Just simply assign the variable name to new variable.
let var1=(some calculation);
let var2 = var1;
In your particular example I would want to get the sum(sales) value which is 500 to another variable but this has to be done without using the variable itself.
I want do do that because every time I reload I want to compare the old variable value with the new one.
But wont this override the new value ?? I want something like versioning kind of.