Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewwizard
Master II
Master II

Variable value is disappearing

Hi All,

I am facing strange issue.I have created a variable called vStartDate (defn=Date(Trans_Date-365)

This variable is disappearing when I reload the application.Tried many times.

I have used export excel macros in the app.

Capture.PNG

Version:

Capture1.PNG

Thanks in advance.

1 Solution

Accepted Solutions
marcus_sommer

Have you another variable with the same name into your script? Ctrl + F over all tabs will help to find it.

- Marcus

View solution in original post

5 Replies
marcus_sommer

Have you another variable with the same name into your script? Ctrl + F over all tabs will help to find it.

- Marcus

Not applicable

define a variable in your script and reload, the variable should automatically come their

for example:

LET StartDate = num(date(YearStart(AddMonths(Today(),-24,0)),'DDMMYYYY'));

sunny_talwar

Is this variable getting created in the script or the front end of the application? I would check its definition in the script.

sunny_talwar

Capture.PNG

Digvijay_Singh

Screen print says value of variable is disappearing, see whether it is initialized somewhere with null or something, but cannot say without looking at script. Is it happening with only this variable? if yes then seems to be something in the script is making the difference.