Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
MVP & Luminary
MVP & Luminary

Re: Variable value is disappearing

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

Re: Variable value is disappearing

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

Highlighted
Not applicable

Re: Variable value is disappearing

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'));

Highlighted

Re: Variable value is disappearing

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

Highlighted

Re: Variable value is disappearing

Capture.PNG

Highlighted
Master III
Master III

Re: Variable value is disappearing

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.