<?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 Entering dummy rows in a table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Entering-dummy-rows-in-a-table/m-p/2534718#M108428</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to insert some dummy rows in a table (at the back end) based on a condition.&lt;/P&gt;&lt;P&gt;Every month I get forecast data for current month and next 11 months. So, in January I have Forecast data from January till December. In February, I have Forecast from February to January next year...so on and so forth.&lt;/P&gt;&lt;P&gt;From February onwards, I need to insert dummy rows in my data so that no matter which month the forecast is getting created, I have "Forecast For Month" column with all the months for the current year. So, for February, I need to add 1 dummy row with 0 as Forecast value, for March, I need to add 2 dummy rows,.... as shown in the output.&lt;/P&gt;&lt;P&gt;Row Data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsharma_velcro_0-1761749841228.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184554iC3E04A59531C13A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsharma_velcro_0-1761749841228.png" alt="bsharma_velcro_0-1761749841228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsharma_velcro_2-1761750779258.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184557iCC6597590B318B2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsharma_velcro_2-1761750779258.png" alt="bsharma_velcro_2-1761750779258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help with the script.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;BS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2025 15:14:09 GMT</pubDate>
    <dc:creator>bsharma_velcro</dc:creator>
    <dc:date>2025-10-29T15:14:09Z</dc:date>
    <item>
      <title>Entering dummy rows in a table</title>
      <link>https://community.qlik.com/t5/App-Development/Entering-dummy-rows-in-a-table/m-p/2534718#M108428</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to insert some dummy rows in a table (at the back end) based on a condition.&lt;/P&gt;&lt;P&gt;Every month I get forecast data for current month and next 11 months. So, in January I have Forecast data from January till December. In February, I have Forecast from February to January next year...so on and so forth.&lt;/P&gt;&lt;P&gt;From February onwards, I need to insert dummy rows in my data so that no matter which month the forecast is getting created, I have "Forecast For Month" column with all the months for the current year. So, for February, I need to add 1 dummy row with 0 as Forecast value, for March, I need to add 2 dummy rows,.... as shown in the output.&lt;/P&gt;&lt;P&gt;Row Data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsharma_velcro_0-1761749841228.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184554iC3E04A59531C13A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsharma_velcro_0-1761749841228.png" alt="bsharma_velcro_0-1761749841228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bsharma_velcro_2-1761750779258.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184557iCC6597590B318B2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bsharma_velcro_2-1761750779258.png" alt="bsharma_velcro_2-1761750779258.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Appreciate any help with the script.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;BS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 15:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Entering-dummy-rows-in-a-table/m-p/2534718#M108428</guid>
      <dc:creator>bsharma_velcro</dc:creator>
      <dc:date>2025-10-29T15:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Entering dummy rows in a table</title>
      <link>https://community.qlik.com/t5/App-Development/Entering-dummy-rows-in-a-table/m-p/2534734#M108433</link>
      <description>&lt;P&gt;Hi something like this,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TempRange:
LOAD
    Min(MonthStart(Date#(MonthName, 'MMM-YYYY'))) as MinMonth,
    Max(MonthStart(Date#(MonthName, 'MMM-YYYY'))) as MaxMonth
Resident Data;

AllMonths:
LOAD 
    Date(AddMonths(MinMonth, IterNo() - 1), 'MMM-YYYY') as Forecast_Month_Name
While AddMonths(MinMonth, IterNo() - 1) &amp;lt;= MaxMonth;
Resident TempRange

Left Join (AllMonths)
LOAD 
    Date#(MonthName, 'MMM-YYYY') as MonthDate,
    Forecast_Month_Name,
    &amp;lt;Rest other fields here&amp;gt;
Resident Data;
DROP Table TempRange;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 18:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Entering-dummy-rows-in-a-table/m-p/2534734#M108433</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2025-10-29T18:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Entering dummy rows in a table</title>
      <link>https://community.qlik.com/t5/App-Development/Entering-dummy-rows-in-a-table/m-p/2534849#M108455</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/306088"&gt;@bsharma_velcro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this code, the output appears well to me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;A:&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;LOAD&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;"Creation Date",&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;"Forecast Date",&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;Value&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;FROM [lib://DataFiles/Inserting Dummy Rows.xlsx]&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;(ooxml, embedded labels, table is RawData);&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;B:&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;LOAD "Creation Date"&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;RESIDENT A;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;OUTER JOIN (B)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;LOAD "Creation Date" as "Forecast Date",&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;'0' as Value&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;RESIDENT A&lt;/FONT&gt;&lt;/EM&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;Concatenate (A)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;LOAD *&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;RESIDENT B&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;Where num("Creation Date")&amp;gt;num("Forecast Date");&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;DROP TABLE B;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;Daniel&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="Daniel_Castella_0-1761839289628.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184583i3C68F72877060F72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daniel_Castella_0-1761839289628.png" alt="Daniel_Castella_0-1761839289628.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daniel_Castella_1-1761839342180.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184584i37989A7F94523706/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daniel_Castella_1-1761839342180.png" alt="Daniel_Castella_1-1761839342180.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 15:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Entering-dummy-rows-in-a-table/m-p/2534849#M108455</guid>
      <dc:creator>Daniel_Castella</dc:creator>
      <dc:date>2025-10-30T15:51:41Z</dc:date>
    </item>
  </channel>
</rss>

