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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
dwhdeveloper
Contributor
Contributor

Iterate a job

Hello,

I need to extract data from big query for last 2 years. 

I populated a table with dates with last 2 years. 

Now I want to read date from this table and get daily data from big query for last 2 years.

What would be the best way iterate this job?

PS. Table_date_range in big query failed because of too much data. 

 

Labels (2)
1 Reply
Anonymous
Not applicable

Hi
If I understand your request well, you need to iterate each date and pass it to the query as a parameter to query only the data based on the current date.
Take a look at the tFlowToIterate component documentation and learn this component. eg:
Read date from data source--main(row1)--tFlowToIterate--iterate-->tBigQueryInput....

on tBigQueryInput, you can access the current value of date_column with this expression:
(java.util.Date)globalMap.get("row1.date_column")

Regards
Shong