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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

reuse variable between two reports

Hi all,

i've got tow QV report with a commun variable v_KPI.

the report 1 got a button with two actions : the first action affect to v_KPI the value 1, and the second action "Open Qlikview Document"

i'm looking for a tip to transmit the value v_KPI from the report A to B.

an idea ..??

thanks

Labels (1)
2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See this discussion. Or this one.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi Gysbert,

i tested the second one, with the macro :

sub Regs_Doc

set Var=ActiveDocument.Variables("v_KPI")

set App=ActiveDocument.GetApplication

set UserFile = App.OpenDoc ("bm_kpi_regs.qvw","","")

UserFile.CreateVariable "v_KPI"

set v = UserFile.Variables("v_KPI")

v.SetContent Var.GetContent. String,true

ActiveDocument.ClearAll false

end sub

but, when i tried it on my accespoint it doesn't work !! incompatiblity with ajax ??

regard