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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bobbydave
Creator III
Creator III

Variable reverting back to old value

Has anyone ever seen this happen?

I've an app which has a variable vLYMonthStart = 42518 declared. I've changed the value to 41273 and i save the changes, reload, and save and what happens? The variable value goes back to 42518.

I've removed the variable and this time, explicitly declared it in the script.

It doesnt fix the issue and screws the values up.

Any ideas whats going on with the variable?

1 Solution

Accepted Solutions
sunny_talwar

Have you checked if the variable is specified in the script somewhere? because if it is, then it will get the value assigned in the script as soon as you reload your app.

View solution in original post

3 Replies
sunny_talwar

Have you checked if the variable is specified in the script somewhere? because if it is, then it will get the value assigned in the script as soon as you reload your app.

Anil_Babu_Samineni

Where you are changing this? How you are defining the Variable?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
bobbydave
Creator III
Creator III
Author

I had the variable declared in the variable declaration section.

Everytime i reloaded, it would revert back to the original value.

I then deleted this value and in my script, i declared it but then, it didnt fix my issue and no value for the variable was being picked up.

I recreated the variable in the variable declaration section and voila, it works.

I've no idea why it was reverting but its back working now.

Thanks