<?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: Whether it is possible to create calendar table using tRowGenerator in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350792#M117579</link>
    <description>&lt;P&gt;&amp;nbsp;Thank you&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000005OyYLAA0" target="_self"&gt;@lli&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;I appreciate for your response.I also completed 8 columns.&amp;nbsp;&lt;SPAN&gt;completed columns are given in screenshots.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (925).png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lw8P.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129473i0520941BA8EF6783/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lw8P.png" alt="0683p000009Lw8P.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;could please tell me?. How to create below column also?&lt;BR /&gt;1) Fiscal Year (2016-2017)&lt;BR /&gt;2) Cal Week Start Date (eg. 5JUNE2017)&lt;BR /&gt;3) Cal Week End Date (eg. 10JUNE2017)&lt;BR /&gt;4) Cal Week Num (within Month) (eg. W1- W5 and resets to W1 with start for new month)&lt;BR /&gt;5) Quarter Start Date (eg. 01APR2017)&lt;BR /&gt;6) &lt;SPAN&gt;Q&lt;/SPAN&gt;&lt;SPAN&gt;uarter&lt;/SPAN&gt; End Date (eg.30JUN2017)&lt;BR /&gt;7) Fiscal Month&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Fiscal QTR&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2017 07:13:05 GMT</pubDate>
    <dc:creator>RAJ6</dc:creator>
    <dc:date>2017-07-27T07:13:05Z</dc:date>
    <item>
      <title>Whether it is possible to create calendar table using tRowGenerator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350790#M117577</link>
      <description>&lt;DIV&gt;
 Hi Talend Folks,
&lt;/DIV&gt; 
&lt;DIV&gt;
 &lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/STRONG&gt;&amp;nbsp;I need to create below structure calendar table using tRowGenerator component.&amp;nbsp;
&lt;/DIV&gt; 
&lt;DIV&gt;
 Whether it is possible or not?
&lt;/DIV&gt; 
&lt;DIV&gt;
 &amp;nbsp;
&lt;/DIV&gt; 
&lt;DIV&gt;
 &lt;STRONG&gt;&lt;U&gt;Calendar Table :&lt;/U&gt;&lt;/STRONG&gt;
&lt;/DIV&gt; 
&lt;DIV&gt;
 Date Key (8 digit Numeric)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Cal Date (Date Format) (eg. 8JUNE2017)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Year (eg 2017)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Fiscal Year (eg.2017)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Month (eg. June)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Cal Month Num (eg. 6)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Cal Week Start Date (eg. 5JUNE2017)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Cal Week End Date (eg. 10JUNE2017)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Week (1 to 52) (eg. W1)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Cal Week Num (within Month) (eg. W1- W5 and resets to W1 with start for new month)
&lt;/DIV&gt; 
&lt;DIV&gt;
 Day Name (eg.
 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;
 &lt;SPAN class="aBn"&gt;&lt;SPAN class="aQJ"&gt;Thursday&lt;/SPAN&gt;&lt;/SPAN&gt;)
&lt;/DIV&gt; 
&lt;DIV&gt;
 QTR Num (eg. Q2)
&lt;/DIV&gt; 
&lt;DIV&gt;
 QTR Start Date (eg. 01APR2017)
&lt;/DIV&gt; 
&lt;DIV&gt;
 QTR End Date (eg.30JUN2017)
&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Jul 2017 07:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350790#M117577</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2017-07-26T07:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Whether it is possible to create calendar table using tRowGenerator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350791#M117578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can use a tRowGenerator to generate a list of dates of your choosing, then use a tMap to create all the derived fields from that date.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2017-07-26 14-52-44.png" style="width: 857px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lvuh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150069i7BDAB7C901F7CAFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lvuh.png" alt="0683p000009Lvuh.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm using context to define the start date (Date type) and number of days to generate. &amp;nbsp;Then generating a sequence and adding that to the date for each generated row.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Then in your tMap, just calculate the rest as needed:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2017-07-26 14-55-49.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwCK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150990iAFB128C4ECDD0C63/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwCK.png" alt="0683p000009LwCK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 19:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350791#M117578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T19:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Whether it is possible to create calendar table using tRowGenerator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350792#M117579</link>
      <description>&lt;P&gt;&amp;nbsp;Thank you&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000005OyYLAA0" target="_self"&gt;@lli&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;I appreciate for your response.I also completed 8 columns.&amp;nbsp;&lt;SPAN&gt;completed columns are given in screenshots.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (925).png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lw8P.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129473i0520941BA8EF6783/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lw8P.png" alt="0683p000009Lw8P.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;could please tell me?. How to create below column also?&lt;BR /&gt;1) Fiscal Year (2016-2017)&lt;BR /&gt;2) Cal Week Start Date (eg. 5JUNE2017)&lt;BR /&gt;3) Cal Week End Date (eg. 10JUNE2017)&lt;BR /&gt;4) Cal Week Num (within Month) (eg. W1- W5 and resets to W1 with start for new month)&lt;BR /&gt;5) Quarter Start Date (eg. 01APR2017)&lt;BR /&gt;6) &lt;SPAN&gt;Q&lt;/SPAN&gt;&lt;SPAN&gt;uarter&lt;/SPAN&gt; End Date (eg.30JUN2017)&lt;BR /&gt;7) Fiscal Month&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Fiscal QTR&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350792#M117579</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2017-07-27T07:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Whether it is possible to create calendar table using tRowGenerator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350793#M117580</link>
      <description>You'll need to do date math. It may be easiest to create some routines to do the calculations. Stackoverflow has articles on how to calculate various dates based on a Java date.</description>
      <pubDate>Thu, 27 Jul 2017 13:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350793#M117580</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-07-27T13:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Whether it is possible to create calendar table using tRowGenerator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350794#M117581</link>
      <description>&lt;P&gt;getting the error "cannot convert Date to String"&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 02:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350794#M117581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-03T02:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Whether it is possible to create calendar table using tRowGenerator</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350795#M117582</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/0053p000007LQmxAAG"&gt;@verma_gauri&lt;/A&gt;, check the data type of column, the data type should match the data type of return value of the function.</description>
      <pubDate>Mon, 03 Feb 2020 04:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Whether-it-is-possible-to-create-calendar-table-using/m-p/2350795#M117582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-03T04:59:55Z</dc:date>
    </item>
  </channel>
</rss>

