Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

for loop iteration

hello,

how can i jump 10 numbers using for loop like this one??

for i = 10 to 40;


load Date(PeriodDate,'DD/MM/YYYY') as PeriodDate,
  $(i) as [Chart Account],
  0 as AMOUNTUSD

resident TempCalendar  order by PeriodDate Asc;
NEXT

1 Reply
disqr_rm
Partner - Specialist III
Partner - Specialist III

You can use STEP with the FOR loop. Something like: 

for i = 10 to 40 step 10

Is this what you are looking for?