Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
IMPORTANT security patches for GeoAnalytics Server available to download: READ DETAILS
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
MVP & Luminary
MVP & Luminary

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
MVP & Luminary
MVP & Luminary

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.