<?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 Repeating value in a flat table based on the sum of another value in the script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Repeating-value-in-a-flat-table-based-on-the-sum-of-another/m-p/1993610#M82228</link>
    <description>&lt;P&gt;Looking for some help with repeating a specific value. What I need is for [Item ID] to repeat in the table as many times as the sum of CountOrderItemIDs.&lt;/P&gt;
&lt;P&gt;This is a very simplistic view of how my data is currently set up:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="laurenwagner_0-1666045493620.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91501i7A7D804D7696D226/image-size/medium?v=v2&amp;amp;px=400" role="button" title="laurenwagner_0-1666045493620.png" alt="laurenwagner_0-1666045493620.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;[Load2]:&lt;BR /&gt;load distinct &lt;BR /&gt;[Item ID],&lt;BR /&gt;[Store-ReviewCategory],&lt;BR /&gt;CountOrderItemIDs&lt;BR /&gt;resident [Load1];&lt;/P&gt;
&lt;P&gt;But this is how I need the data to be coming through:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="laurenwagner_1-1666045637186.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91502i21160FFFFA911438/image-size/medium?v=v2&amp;amp;px=400" role="button" title="laurenwagner_1-1666045637186.png" alt="laurenwagner_1-1666045637186.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;**This is an example data set. The actual data set has thousands of unique Item IDs with much large CountOrderID sums, so I would need something that can be automated on a large set of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2022 22:30:45 GMT</pubDate>
    <dc:creator>laurenwagner</dc:creator>
    <dc:date>2022-10-17T22:30:45Z</dc:date>
    <item>
      <title>Repeating value in a flat table based on the sum of another value in the script</title>
      <link>https://community.qlik.com/t5/App-Development/Repeating-value-in-a-flat-table-based-on-the-sum-of-another/m-p/1993610#M82228</link>
      <description>&lt;P&gt;Looking for some help with repeating a specific value. What I need is for [Item ID] to repeat in the table as many times as the sum of CountOrderItemIDs.&lt;/P&gt;
&lt;P&gt;This is a very simplistic view of how my data is currently set up:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="laurenwagner_0-1666045493620.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91501i7A7D804D7696D226/image-size/medium?v=v2&amp;amp;px=400" role="button" title="laurenwagner_0-1666045493620.png" alt="laurenwagner_0-1666045493620.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;[Load2]:&lt;BR /&gt;load distinct &lt;BR /&gt;[Item ID],&lt;BR /&gt;[Store-ReviewCategory],&lt;BR /&gt;CountOrderItemIDs&lt;BR /&gt;resident [Load1];&lt;/P&gt;
&lt;P&gt;But this is how I need the data to be coming through:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="laurenwagner_1-1666045637186.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91502i21160FFFFA911438/image-size/medium?v=v2&amp;amp;px=400" role="button" title="laurenwagner_1-1666045637186.png" alt="laurenwagner_1-1666045637186.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;**This is an example data set. The actual data set has thousands of unique Item IDs with much large CountOrderID sums, so I would need something that can be automated on a large set of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 22:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Repeating-value-in-a-flat-table-based-on-the-sum-of-another/m-p/1993610#M82228</guid>
      <dc:creator>laurenwagner</dc:creator>
      <dc:date>2022-10-17T22:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Repeating value in a flat table based on the sum of another value in the script</title>
      <link>https://community.qlik.com/t5/App-Development/Repeating-value-in-a-flat-table-based-on-the-sum-of-another/m-p/1993645#M82231</link>
      <description>&lt;P&gt;As below&lt;/P&gt;
&lt;P&gt;temp:&lt;BR /&gt;Load ID,Cat,numfield inline [&lt;BR /&gt;ID,Cat,numfield&lt;BR /&gt;50356,Shirt,2&lt;BR /&gt;2321,Pant,4&lt;BR /&gt;242342,Shoes,1&lt;BR /&gt;234,Hats,4&lt;BR /&gt;98789,Purses,5&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Main:&lt;BR /&gt;Load&lt;BR /&gt;ID,Cat,numfield&lt;BR /&gt;,IterNo() as Rank&lt;BR /&gt;Resident temp &lt;BR /&gt;while IterNo()&amp;lt;=numfield&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;drop table temp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 03:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Repeating-value-in-a-flat-table-based-on-the-sum-of-another/m-p/1993645#M82231</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-10-18T03:14:32Z</dc:date>
    </item>
  </channel>
</rss>

