Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

ramshoney
Contributor

Regarding Loading data in Editor

Hi While we do "Load Data" in the script editor, I have many sections. example lets say 7 sections, I already loaded the 6 sections and now added section 7 . I just want to load only 7th section without commenting the remaining 6 sections where it load only 7th section.

Rams.

5 Replies
prat1507
Valued Contributor

Re: Regarding Loading data in Editor

You can use Partial Reload.

What is meant by partial reload? What is its use? Please explain!


Regards
Pratyush

mark6505
Valued Contributor III

Re: Regarding Loading data in Editor

If you only want to load the 7th section.

Move the tab to the top of the list, just after the main tab.

At  the end of the 7th section at the line EXIT SCIPT;

Mark

agigliotti
Honored Contributor II

Re: Regarding Loading data in Editor

There is not partial reload in Qlik Sense out of box.

rittermd
Honored Contributor

Re: Regarding Loading data in Editor

Always put a final section called Exit which contains Exit Script;

Then you can move this around or move your other sections around so that this is the last section.  It will only execute what comes prior to it.

mark6505
Valued Contributor III

Re: Regarding Loading data in Editor

Another approach and one I normally take is using Subroutines.

https://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/Scripting/ScriptControlStatem...

You Start Each section with

SUB Section1

then at the End

END SUB.

Create a new tab where you call each sections

CALL Section1;

CALL Section2;

This then runs each section you call in the order you write them. You can then just comment out the call command for the sections you don't want to run.

Mark

Community Browser