<?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 duplicate records descendingly with While in Featured Members</title>
    <link>https://community.qlik.com/t5/Featured-Members/duplicate-records-descendingly-with-While/m-p/2102118#M145</link>
    <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Traducción"&gt;&lt;SPAN class="Y2IQFc"&gt;Good morning, I want to double a row of the loaded base depending on the amount of a field by subtracting one unit until it reaches 1, the table is as follows:

LOAD REQ.,
ID,
[BT No.],
[Certificate No.],
Product,
[Number of installments]


I want a loaded line to be duplicated if the [Number of installments]&amp;gt;1 and subtract the number of installments 1 until this subtraction of this field reaches 1.

thank you&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 03 Aug 2023 13:34:34 GMT</pubDate>
    <dc:creator>Luiper</dc:creator>
    <dc:date>2023-08-03T13:34:34Z</dc:date>
    <item>
      <title>duplicate records descendingly with While</title>
      <link>https://community.qlik.com/t5/Featured-Members/duplicate-records-descendingly-with-While/m-p/2102118#M145</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Traducción"&gt;&lt;SPAN class="Y2IQFc"&gt;Good morning, I want to double a row of the loaded base depending on the amount of a field by subtracting one unit until it reaches 1, the table is as follows:

LOAD REQ.,
ID,
[BT No.],
[Certificate No.],
Product,
[Number of installments]


I want a loaded line to be duplicated if the [Number of installments]&amp;gt;1 and subtract the number of installments 1 until this subtraction of this field reaches 1.

thank you&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Aug 2023 13:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Featured-Members/duplicate-records-descendingly-with-While/m-p/2102118#M145</guid>
      <dc:creator>Luiper</dc:creator>
      <dc:date>2023-08-03T13:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate records descendingly with While</title>
      <link>https://community.qlik.com/t5/Featured-Members/duplicate-records-descendingly-with-While/m-p/2102184#M147</link>
      <description>&lt;P&gt;maybe with iterno()&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;X:&lt;BR /&gt;load * inline [&lt;BR /&gt;ID, NumOf&lt;BR /&gt;1,1&lt;BR /&gt;2,2&lt;BR /&gt;3,3&lt;BR /&gt;12,2&lt;BR /&gt;5,5&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Y:&lt;BR /&gt;load&lt;BR /&gt;ID, NumOf, &lt;STRONG&gt;iterno&lt;/STRONG&gt;() as N&lt;BR /&gt;Resident X&lt;BR /&gt;&lt;STRONG&gt;WHILE&lt;/STRONG&gt; &lt;BR /&gt;&lt;STRONG&gt;IterNo&lt;/STRONG&gt;() &amp;lt;= NumOf;&lt;/P&gt;
&lt;P&gt;DROP table X;&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="maxgro_0-1691076638059.png" style="width: 254px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/113546i4431ABB49364EDF8/image-dimensions/254x287?v=v2" width="254" height="287" role="button" title="maxgro_0-1691076638059.png" alt="maxgro_0-1691076638059.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Featured-Members/duplicate-records-descendingly-with-While/m-p/2102184#M147</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2023-08-03T15:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate records descendingly with While</title>
      <link>https://community.qlik.com/t5/Featured-Members/duplicate-records-descendingly-with-While/m-p/2102302#M148</link>
      <description>&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Traducción"&gt;&lt;SPAN class="Y2IQFc"&gt;Perfect, I applied the function and it worked for me without problems, thank you very much&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Aug 2023 20:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Featured-Members/duplicate-records-descendingly-with-While/m-p/2102302#M148</guid>
      <dc:creator>Luiper</dc:creator>
      <dc:date>2023-08-03T20:48:55Z</dc:date>
    </item>
  </channel>
</rss>

