Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

Hi Friends can it be possible to create a infinite loop in qliksense?? I want to load same file repeatedly.

I have this load script, I want to call this loading script repeatedly. is it possible??

[CallvolumeTestData]:

LOAD [callvolume],

  [year],

  [month],

  [day],

  [hour],

  [pastweek],

  [past7days],

  [past7week]

FROM [lib://QlikSenseDocuments/CallvolumeTestData.csv]

(txt, codepage is 1252, embedded labels, delimiter is ',', msq);

4 Replies
Not applicable

Re: Hi Friends can it be possible to create a infinite loop in qliksense?? I want to load same file repeatedly.

If I am using any do while loop or for loop fo repeated execution it's not loading repatedly. Is it possible ??

MVP
MVP

Re: Hi Friends can it be possible to create a infinite loop in qliksense?? I want to load same file repeatedly.

Infinite loop will never finish reloading. I don't think you need that. Can you share the Do While and For Loop you have tested so far?

Not applicable

Re: Hi Friends can it be possible to create a infinite loop in qliksense?? I want to load same file repeatedly.

Yes sure Mr Sunny,

Well my simple infinte loop is working . I am thinking if it's possible to call this load script on even minutes. I fyou have any idea please share it..

let a=1;

do while($(a)<=3)

[CallvolumeTestData]:

LOAD [callvolume],

  [year],

  [month],

  [day],

  [hour],

  [pastweek],

  [past7days],

  [past7week]

FROM [lib://QlikSenseDocuments/CallvolumeTestData.csv]

(txt, codepage is 1252, embedded labels, delimiter is ',', msq);

sleep(2000);

//let a=minute(now());

//Loop;

let a=1;

//end if

loop;

Not applicable

Re: Hi Friends can it be possible to create a infinite loop in qliksense?? I want to load same file repeatedly.

Hi Mr sunindia,

One problem I am facing it is executing  the script repeatedly in loop but behind the scene data is not updating, there is no reflect on data, If you could have any solution please share with me. that will be helpful for me.

Thanks,

Bibhuti