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: 
Not applicable

For Loop in Backend ?

How to use for loop in BackEnd for various conditions ?

Give Some Example Apps ?

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See this blog post: Loops in the Script


talk is cheap, supply exceeds demand
tresesco
MVP
MVP

From help:

FOR a=1 to 9

LOAD * FROM file$(a).csv;

NEXT

FOR counter=1 to 9 step 2

SET filename=x$(counter).csv;

IF rand( )<0.5 THEN

EXIT For Unless counter=1

END IF

LOAD a,b FROM $(filename);

NEXT

Not applicable
Author

Ok,

Can you provide me Some QV app ..

Regards,

Helen