Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to reload only portions of script

Hi,

Is there a way to reload to only a portion of the entire script?

thanx

3 Replies
Not applicable
Author

depends exactly What you need to do,

I put blocks of code inside blocks of:

If 1=1 //Excute

endif

or

if 1=2 //Dont Execute

endif

If I just want to diable for debugging puprose a simple comment opener \* will suffice

Dynamically running script from a server hosted document based on a variable parameter doesnt seem to be possible though ...

ColinR

Not applicable
Author

Check the help for Partial Reload...

"This command executes only load and select statements preceded by a replace or add prefix. Other data tables remain unaffected by the command."

So, it will only execute the load and select commands for those commands marked by the replace and add prefixes, and does not load any other data. A full load executes both sets of commands.

This is useful for when you have lots of data and only want to reload the changed portion of that data, say for 6 years of sales data when you have loaded the previous years and want to partial load the current year.

Or are you talking about variable evaluation as well?



Not applicable
Author

Perfect. Thnx. It's a pain to reload so many tables when you're working incrementally.