Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I try this:
FOR dt = Date(myDate,'YYYYMM') TO Date(myDateEnd,'YYYYMM')
NEXT
But, the Qlik generate day by day, i need month by month.
Any ideas?
Perhaps this?
FOR dt = Num(Month(Date(myDate,'YYYYMM'))) TO Num(Month(Date(myDateEnd,'YYYYMM')))
NEXT
What exactly are you trying to do within the loop? May be you need while loop here?
I have two variables: myDate and myDateEnd, both date formated like 'YYYYMM'.
I need a loop between variables. Like this: 201901,201902,....,201912,202001.
The qlikview interpreted the variable like YYYYMMDD.
Example: 20190101,...201901231,...20200131
Marco, try the following link:
https://community.qlik.com/t5/QlikView-Documents/Calendars/ta-p/1496392
If that is of no help, try the following and search on calendar etc...
https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog
Hopefully something out there may help you here.
Regards,
Brett