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

Date in For Next loop

Dear Friends,


date( max($(scrv_tabelle).ENDDA) +1 ) as $(scrv_tabelle).BEGDA


What does this mean? If for example the scrv_tabelle.ENDDA ist '31.12.2009' what will be the value of scrv_tabelle.BEGDA be?

Thanks in advance..

PS: This is always used in for next loops and I always dont get the logic.

1 Reply
biester
Specialist
Specialist

Hi,

the value of BEGDA is intended to be 01.01.2010. Obviously here the maximum date of a set of tables is determined (ENDDA = end date), 1 added for the next day and this date serves as field BEGDA (begin date). Hope that helps,

Rgds,
Joachim