<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Looping every month in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Looping-every-month/m-p/2251508#M35436</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;If you want to create new records based on two date values, you can achieve them in following steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a) Identify the number of records by calculating the difference between start date and end date using&amp;nbsp;TalendDate.diffDate function and store the value to a context variable.&lt;/P&gt;
&lt;P&gt;b) Use add date function&amp;nbsp;TalendDate.addDate(start_date,i,"DD") where i need to iterate from 0 to context variable value. You can also use tRowgnerator to create these dummy records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try it out first and if you are stuck with logic, you can come back and I will be happy to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Please add your job screen shots with error area details if you are having any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 18:20:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-12T18:20:33Z</dc:date>
    <item>
      <title>Looping every month</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Looping-every-month/m-p/2251507#M35435</link>
      <description>&lt;P&gt;I want to loop every month&amp;nbsp; with start_date as start date of the month and end_Date as End date of the month&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once loaded then it has to go previous month dates and keep going back so that i can load every month data into the table&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 18:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Looping-every-month/m-p/2251507#M35435</guid>
      <dc:creator>Karuetl</dc:creator>
      <dc:date>2019-11-12T18:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Looping every month</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Looping-every-month/m-p/2251508#M35436</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;If you want to create new records based on two date values, you can achieve them in following steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a) Identify the number of records by calculating the difference between start date and end date using&amp;nbsp;TalendDate.diffDate function and store the value to a context variable.&lt;/P&gt;
&lt;P&gt;b) Use add date function&amp;nbsp;TalendDate.addDate(start_date,i,"DD") where i need to iterate from 0 to context variable value. You can also use tRowgnerator to create these dummy records.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try it out first and if you are stuck with logic, you can come back and I will be happy to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Please add your job screen shots with error area details if you are having any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt;
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 18:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Looping-every-month/m-p/2251508#M35436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-12T18:20:33Z</dc:date>
    </item>
  </channel>
</rss>

