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

for loop in qlikview with dates

i have to do an extraction with date

i have right now something like this...

but it didnt work qlikview didnt show me errors and i dont know what happends

LET y=Today();

FOR i=Date('01/01/2012','DD/MM/YYYY') to $(y)

Cartera_COP:

//Query Statement

STORE * FROM Cartera_COP into ../01_Datos/Cartera_COP_$(i).qvd;

DROP Table Cartera_COP;

NEXT i

how i can do this?

20 Replies
Not applicable
Author

only replace

FOR i= 0 to vDays

for

FOR i= 0 to vDays step 7

De: Elizabeth Bauer

Enviado el: martes, 30 de septiembre de 2014 03:25 p.m.

Para: Juan Jose Chinga Ramos

Asunto: Re: - for loop in qlikview with dates

Qlik Community <http://community.qlik.com/>

for loop in qlikview with dates

reply from Elizabeth Bauer <http://community.qlik.com/people/lizb1234?et=watches.email.thread> in Scripting - View the full discussion <http://community.qlik.com/message/622933?et=watches.email.thread#622933>