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: 
datanibbler
Champion
Champion

Debugging - find out where Variables are created

Hi,

I keep having collisions with outdated variables - i.e., variables that should not be there anymore. i have deleted them all from the variable_manager and in the script, I generate them from an Excel_file in a loop.

=> The only way (I can think of) that these old variables are still re-created every time is that there are typos (duplicates) in the underlying Excel - but I have checked that several times.

Where else can I look for these variables? I really don't know.

Thanks a lot!

Best regards,

DataNibbler

1 Solution

Accepted Solutions
marcus_sommer

Hi DataNibbler,

maybe you have subs/include-variables with "forgotten" functionalities. I use in similar cases Ctrl + F within the script and the log-files to search for things which couldn't be true ...

- Marcus

View solution in original post

3 Replies
giakoum
Partner - Master II
Partner - Master II

Check your reload script. If they re appear after every reload, most likely they are there.

use the log file to see where they are generated.

marcus_sommer

Hi DataNibbler,

maybe you have subs/include-variables with "forgotten" functionalities. I use in similar cases Ctrl + F within the script and the log-files to search for things which couldn't be true ...

- Marcus

datanibbler
Champion
Champion
Author

Thanks!

I don't know why, but now it seems that after I've searched everything for the 20th time, they are suddenly gone ... no idea why I didn't catch them before. I deleted all variables in the variable_manager like before and reloaded the script to re-generate only those that I want. Well, it worked. Finally.

Best regards,

DataNibbler