<?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: Generate page number after every 35-50 lines in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226431#M18339</link>
    <description>&lt;DIV&gt;
 &lt;DIV&gt;
  I have a header which is hard coded in the Tmap variable., In this header I have given page number as numeric.sequence("s1",1,1).
 &lt;/DIV&gt;
 &lt;DIV&gt;
  Coming to point, I have a report, in this I have to generate this header which has page no.&amp;nbsp;
 &lt;/DIV&gt;
 &lt;DIV&gt;
  But for data in report has 27lines, next data is having 34lines, next data is having 47lines... If data for for one is having 24lines and next data is having lines of 20lines, totally 44lines which is &amp;lt;50. After 20lines of data it should not populate header.&amp;nbsp;
 &lt;/DIV&gt;
 &lt;DIV&gt;
  But I need to populate header only after if lines are &amp;gt;35 and &amp;lt;50...
 &lt;/DIV&gt;
 &lt;DIV&gt;
  &lt;BR /&gt;
 &lt;/DIV&gt;
 &lt;DIV&gt;
  Thanks in advance&amp;nbsp;
 &lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 24 Dec 2019 05:05:56 GMT</pubDate>
    <dc:creator>shivapadala</dc:creator>
    <dc:date>2019-12-24T05:05:56Z</dc:date>
    <item>
      <title>Generate page number after every 35-50 lines</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226429#M18337</link>
      <description>How can i generate page number after every 35-50 lines.
&lt;BR /&gt;I created header, but it has to populate it after the completion of 35+ lines.
&lt;BR /&gt;If less than that it has to populate next data.
&lt;BR /&gt;How it can be possible, is their any logic.
&lt;BR /&gt;
&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Sat, 16 Nov 2024 03:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226429#M18337</guid>
      <dc:creator>shivapadala</dc:creator>
      <dc:date>2024-11-16T03:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generate page number after every 35-50 lines</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226430#M18338</link>
      <description>Hi 
&lt;BR /&gt;Your needs are not clear enough so I cannot give you detailed answers, however, I think you need to define a counter or generate a sequence id for each line, and populate the line number if it is 35..70..105 and so on, then will create a page number value, to check if the line number is a multiple of 35, use this expression: 
&lt;BR /&gt;row1.line_column %35==0?"do something if true":"do something if false" 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 24 Dec 2019 04:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226430#M18338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-24T04:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Generate page number after every 35-50 lines</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226431#M18339</link>
      <description>&lt;DIV&gt;
 &lt;DIV&gt;
  I have a header which is hard coded in the Tmap variable., In this header I have given page number as numeric.sequence("s1",1,1).
 &lt;/DIV&gt;
 &lt;DIV&gt;
  Coming to point, I have a report, in this I have to generate this header which has page no.&amp;nbsp;
 &lt;/DIV&gt;
 &lt;DIV&gt;
  But for data in report has 27lines, next data is having 34lines, next data is having 47lines... If data for for one is having 24lines and next data is having lines of 20lines, totally 44lines which is &amp;lt;50. After 20lines of data it should not populate header.&amp;nbsp;
 &lt;/DIV&gt;
 &lt;DIV&gt;
  But I need to populate header only after if lines are &amp;gt;35 and &amp;lt;50...
 &lt;/DIV&gt;
 &lt;DIV&gt;
  &lt;BR /&gt;
 &lt;/DIV&gt;
 &lt;DIV&gt;
  Thanks in advance&amp;nbsp;
 &lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Dec 2019 05:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226431#M18339</guid>
      <dc:creator>shivapadala</dc:creator>
      <dc:date>2019-12-24T05:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generate page number after every 35-50 lines</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226432#M18340</link>
      <description>There should be a line number for each line, if it does not exist, add a new column as line_number on tMap and set its value expression as numeric.sequence("s1",1,1), on another tMap, check the line number if it is &amp;gt;35 and &amp;lt;50, eg: 
&lt;BR /&gt;row2.line_number&amp;gt;35 &amp;amp;&amp;amp; row2.line_number&amp;lt;50?"value if true":"value if false"</description>
      <pubDate>Wed, 25 Dec 2019 03:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generate-page-number-after-every-35-50-lines/m-p/2226432#M18340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-25T03:04:57Z</dc:date>
    </item>
  </channel>
</rss>

