Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Author

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

sunny_talwar

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
Author

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
Author

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